예제 #1
0
        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);
        }
예제 #2
0
        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);
        }