Exemple #1
0
 public static bool Prefix(uGUI_FoodBar __instance, ref float capacity)
 {
     capacity = Player.main.GetSurvival().GetStomachSize();
     return(true);
 }
Exemple #2
0
 public static void Postfix(uGUI_FoodBar __instance)
 {
     //__instance.pulseReferenceCapacity = Player.main.GetSurvival().GetStomachSize(); // not sure if this is needed
 }