// Start is called before the first frame update void Start() { m_moveContoroller = GetComponent <Movecontrore>(); m_navMeshAgent = GetComponent <UnityEngine.AI.NavMeshAgent>(); //目標のムーブcontrollerを取得 m_targetMoveController = m_traget.GetComponent <Movecontrore>(); //巡回初期値 agent = GetComponent <NavMeshAgent>(); //速度を落とさない GotoNextPoint(); ChangeActionType(ActionType.Patrol); }
// Start is called before the first frame update void Start() { m_movecontrore = GetComponent <Movecontrore>(); }