private void Start()
 {
     closestEnemy    = null;
     gameObjectChamp = gameObject.GetComponent <AllyChampController>();
 }
Beispiel #2
0
 private void Start()
 {
     champ = gameObject.GetComponent <AllyChampController>(); // taking the champ as a PlayerController object so we can access "selected"
 }