// Use this for initialization void Start() { aiInteract = GetComponent <AIInteract>(); aiClass = GetComponent <AIClass>(); target = null; distance = 0.0f; turnSpeed = 5f; }
// Use this for initialization void Start() { aiClass = GetComponent <AIClass>(); aiFight = GetComponent <AIFight>(); aiMovement = GetComponent <AIMovement>(); aiInteract = GetComponent <AIInteract>(); CheckJob(); GameController.gameController.questControl.GenerateQuest(job, this); }