예제 #1
0
 public static void UpdateCurrentBookPagesValue(int changeValue)
 {
     currentBookPages = Mathf.Clamp((currentBookPages += changeValue), 0, PlayerSkills.GetMaxBookPagesValue());
 }
예제 #2
0
 public static void SetCurrentBookPagesValue(int newValue)
 {
     currentBookPages = Mathf.Clamp(newValue, 0, PlayerSkills.GetMaxBookPagesValue());
 }