void Start() { Ship = GameObject.Find("Ship3").GetComponent <ShepController>(); }
// Start is called before the first frame update void Start() { Ship = GameObject.Find("Ship3").GetComponent <ShepController>(); sm = GameObject.Find("PlayZone").GetComponent <SoundManager>(); }
// Start is called before the first frame update void Start() { sm = GameObject.Find("PlayZone").GetComponent <SoundManager>(); Ship = GameObject.Find("Ship3").GetComponent <ShepController>(); InvokeRepeating("Shoot", 1, shootDelay); }