Exemple #1
0
 private void Hp_OnValueChange(object sender, ValueChingingEventArgs <int> e)
 {
     if (e.NewValue <= 0)
     {
         owner.OnLifeZero();
     }
 }
Exemple #2
0
 private void Heat_OnValueChange(object sender, ValueChingingEventArgs <int> e)
 {
     if (e.NewValue > e.OldValue)
     {
         HeatMinusTime = 2f;
     }
 }
Exemple #3
0
 private void Mp_OnValueChange(object sender, ValueChingingEventArgs <int> e)
 {
 }