void Awake()
 {
     tracker = GameObject.FindGameObjectWithTag ("GameController").GetComponent<StabilityTracker> ();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     scaryThing   = GameObject.FindGameObjectWithTag("Player");
     navMeshAgent = GetComponent <NavMeshAgent> ();
     tracker      = GameObject.FindGameObjectWithTag("GameController").GetComponent <StabilityTracker> ();
 }
 void Awake()
 {
     tracker = GameObject.FindGameObjectWithTag("GameController").GetComponent <StabilityTracker> ();
 }
Ejemplo n.º 4
0
 // Use this for initialization
 void Start()
 {
     scaryThing = GameObject.FindGameObjectWithTag ("Player");
     navMeshAgent = GetComponent<NavMeshAgent> ();
     tracker = GameObject.FindGameObjectWithTag ("GameController").GetComponent<StabilityTracker> ();
 }