Exemplo n.º 1
0
        private void Awake()
        {
            manager = DeterminismManager.Instance;

            switch (manager.rulesAsset.nCurrentDay)
            {
            case 1:
                text.text = strDay1;
                break;

            case 2:
                text.text = strDay1;
                break;

            case 3:
                text.text = strDay1;
                break;

            case 4:
                text.text = strDay1;
                break;

            case 5:
                text.text = strDay1;
                break;
            }
        }
Exemplo n.º 2
0
        private void Awake()
        {
            Manager = DeterminismManager.Instance;
            if (bExpectedValue == Manager.IsRuleEnabled(strDetKey))
            {
                if (!IsCorrectDay())
                {
                    return;
                }

                eventOnAwake.Invoke();
            }
        }
Exemplo n.º 3
0
 private void Start()
 {
     Manager          = DeterminismManager.Instance;
     BossComeTimeLine = GetComponent <PlayableDirector>();
 }
Exemplo n.º 4
0
 public void LoadManager()
 {
     Manager = DeterminismManager.Instance;
 }