// Use this for initialization void Start() { at = transform.parent.GetComponent <ShipAT>(); }
private void Start() { at = transform.parent.parent.GetComponent <ShipAT>(); healthRate = 1f; }