예제 #1
0
    // Update is called once per frame
    void Update()
    {
        //1 if (Input.GetMouseButton(0))  //Mouseをクリックする
        //1 SelectBase(); //定義された方法

        if (GameIsOver)
        {
            return;
        }

        if (Input.GetKeyDown(KeyCode.P))
        {
            pauseUI.SwitchUI();
        }


        if (PlayerStatus.Lives <= 0)
        {
            GameEnd();
        }
    }