Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     camera     = GetComponent <Camera>();
     unitselect = GetComponent <SelectUNIT>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     soldierspawnpoint = gameObject.transform;
     slunit            = FindObjectOfType <SelectUNIT>().GetComponent <SelectUNIT>();
     manager           = FindObjectOfType <ManagerScript>().GetComponent <ManagerScript>();
 }