Пример #1
0
 /// <summary>
 /// Awards the Player health.
 /// </summary>
 /// <param name='player'>
 /// The Player whom will receive the health.
 /// </param>
 public void trigger(PlayerScript player)
 {
     player.awardHealth(healAmount);
     Destroy(gameObject);
 }