private void Awake() { aiManager = new AiComponentManager(GetComponent <Collider>()); this.tempPath = new NavMeshPath(); }
private void Start() { this.associatedNodeManager = nodeController.getAiManager(); this.brain = new AiComponent(this.associatedNodeManager, this); this.navMeshAgent = GetComponent <NavMeshAgent>(); }