// Use this for initialization void Start() { RepairPanel.SetActive(false); EndPanel.SetActive(false); GameOverPanel.SetActive(false); shipParts = FindObjectOfType <ShipPartManager>(); Finish = false; }
private void Start() { manager = FindObjectOfType <ShipPartManager>(); _audioSource = GetComponent <AudioSource>(); }