// Use this for initialization
 void Start()
 {
     player = spawnGoodGuy.GetComponent<GoodGuy>();
     enemy = SpawnBadGuy.GetComponent<BadGuy>();
     heroCheck = GameObject.Find("GameController").GetComponent<HeroCheck>();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     player    = spawnGoodGuy.GetComponent <GoodGuy>();
     enemy     = SpawnBadGuy.GetComponent <BadGuy>();
     heroCheck = GameObject.Find("GameController").GetComponent <HeroCheck>();
 }