void Awake() { data = GameSettings.Instance.GetAimPointData(type); shooter = GetComponent <ShipShooterManager>(); input = GetComponent <PlayerControlInput>(); currentAngles = new Vector3[aimPoints.Length]; }
void Awake() { movement = GetComponent <ShipMovement>(); damage = GetComponent <ShipDamage>(); shooter = GetComponent <ShipShooterManager>(); positiveThrottle.fillAmount = 0; negativeThrottle.fillAmount = 0; positiveSteering.fillAmount = 0; negativeSteering.fillAmount = 0; }