void Start() { scoreBoardManager = ScoreBoardManager.GetInstance(); scoreBoardManager.setScore(0); playerResponseManager = PlayerResponseManager.GetInstance(); playerResponseManager.UpdateSceneKeys(); playerResponseManager.attach(scoreBoardManager); initializeMenu(); initializeCommand(); initializeReceiver(); setReceiver(); setCommand(); transparentColor = new Color(1f, 1f, 1f, 0.5f); selectIndex = 0; prevIndex = selectIndex; InitializeText(); axisDirection = 0; axisDirectionPressed = 0; PlayerPrefs.SetInt("score", 0); TimeScript.timer = 100.0f; LifeScript.life = 3; HintManager hintManager = HintManager.GetInstance(); hintManager.TransitionTo(new HintNotUsed()); }
public void display() { hintManager = HintManager.GetInstance(); panel.SetActive(false); Hint.enabled = false; }