using HurricaneVR.Framework.Components; using HurricaneVR.Framework.Weapons.Guns; using UnityEngine; namespace Zero { public class ExtGunBase : HVRGunBase { protected override void OnHit(GameObject bullet, RaycastHit hit, Vector3 direction) { base.OnHit(bullet, hit, direction); if (bullet.GetComponent()) { bullet.GetComponent().HandleRayCastHit(DamageProvider, hit); } } public void CallShoot() { Shoot(); } } }