void Awake() { t = this; }
// Use this for initialization void Start() { Utilites.PrintCharger(); UIStuff.DoUI(); }
// 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> (); }