CollisionController.GameOver C# (CSharp) 메소드

GameOver() 공개 메소드

public GameOver ( ) : void
리턴 void
    void GameOver()
    {
        if (playerHP <= 0)
        {
            Panel.SetActive(true);
            Destroy(Player);
            Destroy(WinPanel);
        }
    }
}