protected override void Awake() { base.Awake(); GUIManager = GetComponent <MainGameGUIManager>(); GameScore = GetComponent <MainGameScore>(); // ResultGUI = FindObjectOfType<ResultGUIManager>(); Debug.Assert(ResultGUI != null); ResultGUI.SetVisible(true); PlayerCtrl = FindObjectOfType <PlayerController>(); EnemyCtrl = FindObjectOfType <EnemyController>(); Debug.Assert(PlayerCtrl != null); Debug.Assert(EnemyCtrl != null); }
// float LeftTime; private void Awake() { GUIManager = GetComponent <MainGameGUIManager>(); Debug.Assert(ChainGUIManager != null); }