Compare commits
2 Commits
c52d8f2c80
...
cdfda618e9
Author | SHA1 | Date | |
---|---|---|---|
|
cdfda618e9 | ||
|
15c44f655c |
@ -118,6 +118,7 @@ public class InteractionController : MonoBehaviour
|
|||||||
// Interaction Controller와 같은 방식으로 작동됩니다.
|
// Interaction Controller와 같은 방식으로 작동됩니다.
|
||||||
private void SuddenAfterWorkEventHappen()
|
private void SuddenAfterWorkEventHappen()
|
||||||
{
|
{
|
||||||
|
PlayerStats.Instance.OnWorked -= SuddenAfterWorkEventHappen;
|
||||||
AfterWorkEventType afterWorkEventType = SuddenEventCalculator();
|
AfterWorkEventType afterWorkEventType = SuddenEventCalculator();
|
||||||
if (afterWorkEventType == AfterWorkEventType.None) return;
|
if (afterWorkEventType == AfterWorkEventType.None) return;
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ public enum AfterWorkEventType
|
|||||||
public static class HousingConstants
|
public static class HousingConstants
|
||||||
{
|
{
|
||||||
//돌발 이벤트 확률 계산
|
//돌발 이벤트 확률 계산
|
||||||
public static int AFTER_WORK_DENOMINATOR = 2;
|
public static int AFTER_WORK_DENOMINATOR = 3;
|
||||||
//돌발 이벤트 보여줄 시간
|
//돌발 이벤트 보여줄 시간
|
||||||
public static float SUDDENEVENT_IAMGE_SHOW_TIME = 4.0f;
|
public static float SUDDENEVENT_IAMGE_SHOW_TIME = 4.0f;
|
||||||
//전환효과(Switching) 패널 애니메이션 시간
|
//전환효과(Switching) 패널 애니메이션 시간
|
||||||
|
Loading…
x
Reference in New Issue
Block a user