Example #1
0
 void Awake()
 {
     t = this;
 }
Example #2
0
    // Use this for initialization
    void Start()
    {
        Utilites.PrintCharger();

        UIStuff.DoUI();
    }
Example #3
0
 // Use this for initialization
 void Start()
 {
     Debug.Log ("Searching for player");
     player = GameObject.FindGameObjectsWithTag ("Player") [0].transform;
     Debug.Log ("Acquriing villiany");
     v = player.gameObject.GetComponentsInChildren<Villian> () [0];
     Debug.Log (v != null);
     bt = GetComponent<BehaviorTree> ();
     ui = GameObject.FindGameObjectWithTag ("GlobalVar").GetComponent<UIStuff> ();
 }