コード例 #1
0
ファイル: Monster.cs プロジェクト: Jeedan/LD33
 void OnDeath()
 {
     healthText.text = "DEAD";
     testExp.AwardExp((testExp.level + expBonus) * expMultiplier);
     Debug.Log("I am dead, play death animation and award reward (exp or somethign)");
 }