public override void On(params BaseObjectScene[] weapon) { if (IsActive) { return; } if (weapon.Length > 0) { _weapon = weapon[0] as Weapons; } if (_weapon == null) { return; } if (!_weapon.AvailableForPlayer) { return; } base.On(_weapon); _weapon.AddUIToWeapon(); _weapon.Switch(true); _weapon.Shoot += _playerController.Player.CameraShake; }