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