public void Trigger(Vector3 position, Vector3 direction) { if (_equippedGun == null) { return; } var fired = _equippedGun.TryTrigger(ref position, ref direction); if (fired == null) { return; } FireBullet(fired._prefab, position, direction); }