Compare commits
2 Commits
cc804ae625
...
d3c3bed909
Author | SHA1 | Date | |
---|---|---|---|
|
d3c3bed909 | ||
|
545df9f6d7 |
@ -52,6 +52,9 @@ public class UpgradeManager : Singleton<UpgradeManager>
|
|||||||
|
|
||||||
EnsureCardListSize(3);
|
EnsureCardListSize(3);
|
||||||
|
|
||||||
|
//오디오 재생
|
||||||
|
GameManager.Instance.PlayLevelUpSound();
|
||||||
|
|
||||||
//카드 생성
|
//카드 생성
|
||||||
if (stats.Count == 0)
|
if (stats.Count == 0)
|
||||||
{
|
{
|
||||||
@ -103,6 +106,9 @@ public class UpgradeManager : Singleton<UpgradeManager>
|
|||||||
|
|
||||||
EnsureCardListSize(3);
|
EnsureCardListSize(3);
|
||||||
|
|
||||||
|
//오디오 재생
|
||||||
|
GameManager.Instance.PlayLevelUpSound();
|
||||||
|
|
||||||
if(cards[0] == null)
|
if(cards[0] == null)
|
||||||
cards[0] = Instantiate(upgradeButton, backgroundRectTransform);
|
cards[0] = Instantiate(upgradeButton, backgroundRectTransform);
|
||||||
|
|
||||||
@ -161,6 +167,8 @@ public class UpgradeManager : Singleton<UpgradeManager>
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public void DestroyUpgradeCard()
|
public void DestroyUpgradeCard()
|
||||||
{
|
{
|
||||||
|
GameManager.Instance.PlayButtonClickSound();
|
||||||
|
|
||||||
// 카드 비활성화
|
// 카드 비활성화
|
||||||
if (stats.Count == 0|| isHome)
|
if (stats.Count == 0|| isHome)
|
||||||
{
|
{
|
||||||
@ -280,5 +288,4 @@ public class UpgradeManager : Singleton<UpgradeManager>
|
|||||||
if(canvas == null)
|
if(canvas == null)
|
||||||
canvas = FindObjectOfType<Canvas>();
|
canvas = FindObjectOfType<Canvas>();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -203,7 +203,7 @@ public class PlayerStats : MonoBehaviour,ISaveable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PerformAbsent() // 강제 결근 이벤트
|
public void PerformAbsent() // 강제 결근 이벤트, 오류 발생
|
||||||
{
|
{
|
||||||
_hasCheckedAbsenceToday = true; // 결근 체크 완료 표시
|
_hasCheckedAbsenceToday = true; // 결근 체크 완료 표시
|
||||||
OnAbsent?.Invoke();
|
OnAbsent?.Invoke();
|
||||||
@ -349,7 +349,7 @@ public class PlayerStats : MonoBehaviour,ISaveable
|
|||||||
EndDay(time, actionType);
|
EndDay(time, actionType);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TimeStat >= 8.0f && TimeStat < 9.0f)
|
if (TimeStat is >= 8.0f and < 9.0f)
|
||||||
{
|
{
|
||||||
_hasWorkedToday = false;
|
_hasWorkedToday = false;
|
||||||
_hasCheckedAbsenceToday = false;
|
_hasCheckedAbsenceToday = false;
|
||||||
@ -384,6 +384,8 @@ public class PlayerStats : MonoBehaviour,ISaveable
|
|||||||
|
|
||||||
public void ModifyReputation(float reputation)
|
public void ModifyReputation(float reputation)
|
||||||
{
|
{
|
||||||
|
if (reputation == 0f) return;
|
||||||
|
|
||||||
// float 연산 시 계산 오차가 발생할 수도 있기에 소수점 두 번째에서 반올림하도록 처리
|
// float 연산 시 계산 오차가 발생할 수도 있기에 소수점 두 번째에서 반올림하도록 처리
|
||||||
if(ReputationStat > 0)
|
if(ReputationStat > 0)
|
||||||
{
|
{
|
||||||
|
BIN
Assets/KSH/ReHousing.unity
(Stored with Git LFS)
BIN
Assets/KSH/ReHousing.unity
(Stored with Git LFS)
Binary file not shown.
BIN
Assets/LIN/Prefabs/TutorialExamplePanel.prefab
(Stored with Git LFS)
BIN
Assets/LIN/Prefabs/TutorialExamplePanel.prefab
(Stored with Git LFS)
Binary file not shown.
@ -91,6 +91,12 @@ public class InteractionController : MonoBehaviour
|
|||||||
|
|
||||||
if (interactionType == ActionType.Dungeon)
|
if (interactionType == ActionType.Dungeon)
|
||||||
{
|
{
|
||||||
|
if (GameManager.Instance.StageLevel > 2)
|
||||||
|
{
|
||||||
|
PlayerStats.Instance.ShowAndHideBubble("던전을 다깼어!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
GameManager.Instance.ChangeToGameScene();
|
GameManager.Instance.ChangeToGameScene();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -12,8 +12,8 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: b22d834cf5e26e647be215074940d40e, type: 3}
|
m_Script: {fileID: 11500000, guid: b22d834cf5e26e647be215074940d40e, type: 3}
|
||||||
m_Name: TutorialStep1
|
m_Name: TutorialStep1
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
message: "\uC9D1\uC5D0\uC11C\uB3C4 \uC2AC\uB77C\uC774\uB354\uB97C \uC870\uC791\uD574
|
message: "\uC2AC\uB77C\uC774\uB354\uB97C \uC870\uC791\uD574 \n\uCE90\uB9AD\uD130\uB97C
|
||||||
\uCE90\uB9AD\uD130\uB97C \uC6C0\uC9C1\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4."
|
\uC6C0\uC9C1\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4."
|
||||||
timeout: 0
|
timeout: 0
|
||||||
onStepBegin:
|
onStepBegin:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
@ -12,8 +12,8 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: b22d834cf5e26e647be215074940d40e, type: 3}
|
m_Script: {fileID: 11500000, guid: b22d834cf5e26e647be215074940d40e, type: 3}
|
||||||
m_Name: TutorialStep2
|
m_Name: TutorialStep2
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
message: "\uCE68\uB300, \uB0C9\uC7A5\uACE0, \uD604\uAD00 \uADF8\uB9AC\uACE0 \uC8FC\uBC29\uC5D0
|
message: "\uCE68\uB300, \uB0C9\uC7A5\uACE0, \uD604\uAD00 \uADF8\uB9AC\uACE0\n\uC8FC\uBC29\uC5D0
|
||||||
\uAC00\uAE4C\uC774 \uAC00\uBA74 \uADF8\uC5D0 \uC5B4\uC6B8\uB9AC\uB294 \uC0C1\uD638\uC791\uC6A9\uC744
|
\uAC00\uAE4C\uC774 \uAC00\uBA74 \n\uADF8\uC5D0 \uC5B4\uC6B8\uB9AC\uB294 \uC0C1\uD638\uC791\uC6A9\uC744
|
||||||
\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."
|
\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."
|
||||||
timeout: 0
|
timeout: 0
|
||||||
onStepBegin:
|
onStepBegin:
|
||||||
|
@ -12,7 +12,7 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: b22d834cf5e26e647be215074940d40e, type: 3}
|
m_Script: {fileID: 11500000, guid: b22d834cf5e26e647be215074940d40e, type: 3}
|
||||||
m_Name: TutorialStep5
|
m_Name: TutorialStep5
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
message: "\uB2E4\uC591\uD55C \uC0C1\uD638\uC791\uC6A9\uC744 \uD1B5\uD574 \uB2A5\uB825\uCE58\uB97C
|
message: "\uB2E4\uC591\uD55C \uC0C1\uD638\uC791\uC6A9\uC744 \uD1B5\uD574\n\uB2A5\uB825\uCE58\uB97C
|
||||||
\uC62C\uB9AC\uACE0 \uB358\uC804\uC744 \uACF5\uB7B5\uD574\uBCF4\uC138\uC694."
|
\uC62C\uB9AC\uACE0 \uB358\uC804\uC744 \uACF5\uB7B5\uD574\uBCF4\uC138\uC694."
|
||||||
timeout: 0
|
timeout: 0
|
||||||
onStepBegin:
|
onStepBegin:
|
||||||
|
@ -140,6 +140,7 @@ public class InteractionAnimationPanelController : MonoBehaviour
|
|||||||
if (_isAbsenceToday) // 결근한 경우
|
if (_isAbsenceToday) // 결근한 경우
|
||||||
{
|
{
|
||||||
PlayerStats.Instance.PerformAbsent();
|
PlayerStats.Instance.PerformAbsent();
|
||||||
|
_isAbsenceToday = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ Material:
|
|||||||
- _OutlineSoftness: 0
|
- _OutlineSoftness: 0
|
||||||
- _OutlineUVSpeedX: 0
|
- _OutlineUVSpeedX: 0
|
||||||
- _OutlineUVSpeedY: 0
|
- _OutlineUVSpeedY: 0
|
||||||
- _OutlineWidth: 0.3
|
- _OutlineWidth: 0.05
|
||||||
- _PerspectiveFilter: 0.875
|
- _PerspectiveFilter: 0.875
|
||||||
- _Reflectivity: 10
|
- _Reflectivity: 10
|
||||||
- _ScaleRatioA: 0.8
|
- _ScaleRatioA: 0.8
|
||||||
@ -99,7 +99,7 @@ Material:
|
|||||||
m_Colors:
|
m_Colors:
|
||||||
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
||||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
- _FaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||||
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
BIN
Assets/Resources/Prefabs/Panels/SwitchingPanel.prefab
(Stored with Git LFS)
BIN
Assets/Resources/Prefabs/Panels/SwitchingPanel.prefab
(Stored with Git LFS)
Binary file not shown.
@ -48,7 +48,7 @@ public partial class GameManager : Singleton<GameManager>,ISaveable
|
|||||||
{
|
{
|
||||||
if (chatWindowController == null)
|
if (chatWindowController == null)
|
||||||
{
|
{
|
||||||
yield return new WaitForSeconds(4f); // 씬 전환 대기
|
yield return new WaitForSeconds(4.0f); // 씬 전환 대기
|
||||||
chatWindowController = FindObjectOfType<ChatWindowController>();
|
chatWindowController = FindObjectOfType<ChatWindowController>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ public partial class GameManager : Singleton<GameManager>,ISaveable
|
|||||||
HandleSceneAudio("Housing");
|
HandleSceneAudio("Housing");
|
||||||
|
|
||||||
if(isNewStart) // 아예 메인에서 시작 시 튜토리얼 출력
|
if(isNewStart) // 아예 메인에서 시작 시 튜토리얼 출력
|
||||||
StartNPCDialogue(GamePhase.Intro); // StartCoroutine(StartTutorialCoroutine());
|
StartNPCDialogue(GamePhase.Intro);
|
||||||
|
|
||||||
if (tryStageCount >= 3) FailEnd(); // 엔딩
|
if (tryStageCount >= 3) FailEnd(); // 엔딩
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user