Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     nva          = GetComponent <NavMeshAgent>();
     destination  = gameObject.transform.position;
     sphererange  = GetComponentInChildren <SphereCollisionDetection>();
     managerblock = FindObjectOfType <ManagerScript>();
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     uinfo       = gameObject.GetComponent <UNITinfo>();
     sphererange = GetComponentInChildren <SphereCollisionDetection>();
 }