Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     distanceToPlayer = Vector3.Distance(transform.position, player.transform.position);
     totalWaypoints   = waypoints.Capacity;
     logicScript      = GameObject.Find("Test").GetComponent <HidingLogic>();
 }
Esempio n. 2
0
 void Start()
 {
     logicScript = GameObject.Find("Test").GetComponent <HidingLogic>();
 }