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