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; } }
private void Awake() { Manager = DeterminismManager.Instance; if (bExpectedValue == Manager.IsRuleEnabled(strDetKey)) { if (!IsCorrectDay()) { return; } eventOnAwake.Invoke(); } }
private void Start() { Manager = DeterminismManager.Instance; BossComeTimeLine = GetComponent <PlayableDirector>(); }
public void LoadManager() { Manager = DeterminismManager.Instance; }