// Use this for initialization private void Awake() { tru = gameObject.GetComponentInParent <TruAI>(); }
void Start() { truai = gameObject.GetComponent <TruAI>(); }