void Start() { gameManager = GameObject.Find("GameManager").GetComponent <GameManager> (); gameDesignConstants = GameDesignConstantsBehaviour.Instance.GameDesignConstants; DestroyStepAndItems(); for (int i = 0; i < 4; i++) { MakeNewStep(); } }
void Start() { gameDesignConstants = GameDesignConstantsBehaviour.Instance.GameDesignConstants; scoreText.text = score.ToString(); if (IsInvoking("DisableStar")) { CancelInvoke("DisableStar"); } DisableStar(); }