public override void PlayJumpStepAudio()
        {
            if (AkSoundEngineController.AudioMgrGetter == null)
            {
                return;
            }
            var footMatType = footstepCmdExec();

            GameAudioMedia.PlayJumpstepAudio(footMatType, EmitterObject);
        }
示例#2
0
        public void PlayJumpStepAudio()
        {
            var footMatType = FootMatType;

            GameAudioMedia.PlayJumpstepAudio(footMatType, EmitterObject);
            AudioJumpstepEvent audioEvent =
                (AudioJumpstepEvent)EventInfos.Instance.Allocate(EEventType.AJumpstep, false);

            audioEvent.Initialize(FootMatType,
                                  new Vector3(PlayerObject.transform.position.x, 0, PlayerObject.transform.position.z),
                                  PlayerObject.transform.eulerAngles);
            entity.localEvents.Events.AddEvent(audioEvent);
        }