コード例 #1
0
        public void EndClimb()
        {
            if (Climbing)
            {
                Debug.Log(name + " stopped climbing");
                Climbing   = false;
                _climbable = null;

                SFXPlayer.Instance.StopIndividualSFX("Climbing Pillar (Shorter)");
            }
        }
コード例 #2
0
        public void StartClimb(Climbable climbable)
        {
            if (CanClimb())
            {
                Debug.Log(name + " started climbing " + climbable.name);
                Climbing   = true;
                _climbable = climbable;

                SFXPlayer.Instance.PlayLooped(Sound.Climbing_Slower);
            }
        }