public override void PlayReloadAuido(int weaponId, AudioGrp_Magazine magizine, float magizineSpeed) { AudioPullboltEvent pullboltEvent = EventInfos.Instance.Allocate(EEventType.APullbolt, false) as AudioPullboltEvent; pullboltEvent.Initialize(magizine, weaponId, FireMuzzleObject.position, FireMuzzleObject.eulerAngles); entity.localEvents.Events.AddEvent(pullboltEvent); }
private void PlayReloadAuido(int weaponId, AudioGrp_Magazine magizine) { GameAudioMedia.PlayWeaponReloadAudio(weaponId, magizine, EmitterObject); AudioPullboltEvent pullboltEvent = EventInfos.Instance.Allocate(EEventType.APullbolt, false) as AudioPullboltEvent; pullboltEvent.Initialize(magizine, weaponId, WeaponObject.transform.position, WeaponObject.transform.eulerAngles); entity.localEvents.Events.AddEvent(pullboltEvent); }