protected override Missile Shoot() { Vector3 dir = Gamef.GenerateRandomDirection(Caster.SpawnTransform.forward, Caster.RuntimeAccuracy, random); tmp = Gamef.Instantiate(missilePrefab, SpawnTransform.position, Quaternion.LookRotation(dir)); if (GameCtrl.IsVR) { Gamef.ControllerVibration(0f, 0.1f, 160, 0.5f, Valve.VR.SteamVR_Input_Sources.RightHand); } Missile missile = tmp.GetComponent <Missile>(); missile.Init(Caster, Target, this); //Debug.Log("Strafe Accuracy : " + Caster.RuntimeAccuracy); Caster.RuntimeAccuracy -= Data.AccuracyHeatupSpeed; return(missile); }