public void EndClimb() { if (Climbing) { Debug.Log(name + " stopped climbing"); Climbing = false; _climbable = null; SFXPlayer.Instance.StopIndividualSFX("Climbing Pillar (Shorter)"); } }
public void StartClimb(Climbable climbable) { if (CanClimb()) { Debug.Log(name + " started climbing " + climbable.name); Climbing = true; _climbable = climbable; SFXPlayer.Instance.PlayLooped(Sound.Climbing_Slower); } }