public override void Fire() { base.Fire(); if (microMissilePod == null) { microMissilePod = (MicroMissilePod)Instantiate(microMissilePodPrefab, bulletTransform.transform.position, bulletTransform.transform.rotation); microMissilePod.player = owner.player; microMissilePod.microMissilePodController = this; this.GetComponent <AudioSource>().Play(); cameraFollower.ChangeCameraMode(true); } }
public void Reload() { microMissilePod = null; cameraFollower.ChangeCameraMode(false); }