// Start is called before the first frame update void Start() { gm = GameObject.Find("GameManager"); ai = gm.GetComponent <AdversaryAI>(); }