public override void PlayJumpStepAudio() { if (AkSoundEngineController.AudioMgrGetter == null) { return; } var footMatType = footstepCmdExec(); GameAudioMedia.PlayJumpstepAudio(footMatType, EmitterObject); }
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); }