コード例 #1
0
ファイル: Character.cs プロジェクト: sliterod/ChipBattle
 void onLethalDamage()
 {
     animationController.PlayDeathAnimation();
     SendMessage("OnDeath", SendMessageOptions.DontRequireReceiver);
     GameObject.Find("Gamestate").SendMessage("ChangeToBattleEnd");
 }