public void SetClimbSpeed(FloatReference cs) => climbSpeed   = cs;
 public void SetMovementSpeed(FloatReference ms) => moveSpeed = ms;
 public void SetJumpForce(FloatReference jf) => jumpForce     = jf;
Пример #4
0
 public float GetFillAmount(FloatReference min, FloatReference max, FloatReference var) => Mathf.Clamp01(Mathf.InverseLerp(min, max, var));