コード例 #1
0
 public void StartLevelCowman()
 {
     cowButtonClip = Resources.Load <AudioClip>("cowbell");
     AudioSource.PlayClipAtPoint(cowButtonClip, new Vector3(0, 0, 0));
     Debug.Log("Startlevel cowman");
     currentPlayerMode = playerEntity.Cowman;
     setState(GameState.Selection);
 }
コード例 #2
0
 public void StartLevelHuman()
 {
     humanButtonClip = Resources.Load <AudioClip>("footstep00");
     AudioSource.PlayClipAtPoint(humanButtonClip, new Vector3(0, 0, 0));
     Debug.Log("Startlevel human");
     currentPlayerMode = playerEntity.Human;
     setState(GameState.Selection);
 }