BomberBeeAI bbai; //the AI engine of the bomber bee void Start() { bbai = bee.GetComponent <BomberBeeAI>(); }