예제 #1
0
파일: Game.cs 프로젝트: Ustinovae/ARTMaze
    public void PressWhenRedy()
    {
        RedyButton.SetActive(false);
        ColorCube.ReturnToInitState();
        player.gameObject.SetActive(true);
        ColorButtons.SetActive(true);
        GameIsOn = true;
        Prompts.Activate(true);
        MoneyText.gameObject.SetActive(true);
        MoneyText.text = PlayerPrefs.GetInt("money").ToString();
        Prompt.SetActive(true);

        Timer.Init();
        Timer.Run();
    }
예제 #2
0
    public void PressWhenRedy()
    {
        RedyButton.SetActive(false);
        ColorCube.ReturnToInitState();
        player.gameObject.SetActive(true);
        ColorButtons.SetActive(true);
        GameIsOn = false;
        Prompts.Activate(true);

        TouchController.SetActive(false);
        Tips.ChangeTip();
        ActivateContinueButton();

        Timer.Init();
    }