示例#1
0
 public static void ReduceUpdateHungerInterval(this Survival survival, float amount)
 {
     survival.kUpdateHungerInterval -= amount;
     survival.CancelInvoke("UpdateHunger");
     survival.InvokeRepeating("UpdateHunger", 0, survival.kUpdateHungerInterval);
 }