コード例 #1
0
 private void Awake()
 {
     aiManager     = new AiComponentManager(GetComponent <Collider>());
     this.tempPath = new NavMeshPath();
 }
コード例 #2
0
 private void Start()
 {
     this.associatedNodeManager = nodeController.getAiManager();
     this.brain        = new AiComponent(this.associatedNodeManager, this);
     this.navMeshAgent = GetComponent <NavMeshAgent>();
 }