Beispiel #1
0
 void Start()
 {
     Ship = GameObject.Find("Ship3").GetComponent <ShepController>();
 }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     Ship = GameObject.Find("Ship3").GetComponent <ShepController>();
     sm   = GameObject.Find("PlayZone").GetComponent <SoundManager>();
 }
Beispiel #3
0
 // 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);
 }