Example #1
0
 void EnablePlayer()
 {
     playerEnableScript.SetEnablePlayer(true);
 }
Example #2
0
 // Eventで登録されるメソッド CheckConditionメソッド内で使われる
 // 各コンポーネントを非アクティブ状態にする
 void DisablePlayer()
 {
     playerEnableScript.SetEnablePlayer(false);
     playerHealthScript.isDead = true;
 }