示例#1
0
        private void Update()
        {
            if (!Input.GetKeyDown(KeyCode.R))
            {
                return;
            }

            GameStatusObserver.RestartGame();
        }
示例#2
0
 private void OnRestartClickHandler()
 {
     GameStatusObserver.RestartGame();
 }
 public void RestartGame()
 {
     GameStatusObserver.RestartGame();
 }