// Use this for initialization void Start() { ai = GetComponentInChildren <AIAgent>(); ai.Activate(); }