コード例 #1
0
 void EnemyKilled()
 {
     State = States.Victory;
     PlayerCharacter.GetComponent <EncounterPlayer>().State = EncounterPlayer.States.Inactive;
     AbilityButtons.SetActive(false);
     StateInitiated = false;
     StateCompleted = false;
 }
コード例 #2
0
 void StartPlayerTurn()
 {
     PlayerCharacter.SendMessage("StartTurn");
     AbilityButtons.SetActive(true);
 }
コード例 #3
0
 //Outgoing Messages
 void StartEnemyTurn()
 {
     EnemyAi.SendMessage("StartTurn");
     AbilityButtons.SetActive(false);
 }