ナビメッシュ エージェント
このコンポーネントはゲーム中の移動するキャラクターにアタッチすることでナビメッシュを使用してシーンを探索します。詳細についてはマニュアルの Navigation を参照して下さい。
| acceleration | エージェントが経路を辿る最大加速度。単位は メートル / 秒の2乗 |
| angularSpeed | 経路を辿るときの最大回転速度(度/ 秒) |
| autoBraking | 目的地点を通り越すこと回避するため NavMeshAgent に自動ブレーキをかけるかどうか |
| autoRepath | エージェントが移動先に着いたり、途中で破棄された場合、新しいパスを取得する必要があるかどうか |
| autoTraverseOffMeshLink | エージェントが自動的にオフメッシュリンク上を移動するかどうか |
| avoidancePriority | アボイダンス (回避)優先度レベル |
| baseOffset | GameObjectからの相対的な垂直変位 |
| currentOffMeshLinkData | 現在のOffMeshLinkData |
| desiredVelocity | 回避行動による潜在的な移動も含むエージェントの期待速度 (Read Only) |
| destination | エージェントが移動するための目的地点 |
| hasPath | エージェントが経路を持っているかどうか (Read Only) |
| height | エージェントの高さ。障害物をくぐる時に使用されます |
| isOnOffMeshLink | エージェントが OffMeshLink オブジェクト上に配置されているか (Read Only) |
| isPathStale | 現在のパスが古いかどうか (Read Only) |
| nextOffMeshLinkData | 現在のパスから次にあたるOffMeshLinkData |
| nextPosition | 経路の次にあたる位置 |
| obstacleAvoidanceType | 回避の品質レベル |
| path | 現在の経路の取得およびセットするプロパティ |
| pathPending | 経路探索の準備ができているかどうか (Read Only) |
| pathStatus | 現在の経路のステータス(完了、未完了、無効) |
| radius | エージェントの回避する半径 |
| remainingDistance | エージェントの位置および現在の経路での目標地点の間の距離 (Read Only) |
| speed | 経路を移動する際の最大移動速度 |
| steeringTarget | 現在の運用ターゲット - 一般的には現在の経路の次のコーナーまたは終了地点 (Read Only) |
| stoppingDistance | 目標地点のどれぐらい手前で停止するかの距離 |
| updatePosition | エージェントの位置を更新すべきかどうか |
| updateRotation | エージェントの回転を更新すべきかどうか |
| velocity | NavMeshAgentコンポーネントの現在の速度 |
| walkableMask | Specifies which NavMesh layers are passable (bitfield). Changing walkableMask will make the path stale (see isPathStale). |
| ActivateCurrentOffMeshLink | 現在の OffMeshLink オブジェクトを有効/無効にします |
| CalculatePath | エージェントが目標値までにたどり着く道程を計算し、path引数に格納します |
| CompleteOffMeshLink | 現在のOffMeshLinkに従います |
| FindClosestEdge | 最も近いナビメッシュの辺の位置を取得します |
| GetLayerCost | 特定のタイプの地面を横断するためのコストを取得します |
| Move | 現在の位置から相対的に移動します |
| Raycast | エージェントを移動させずにナビメッシュ内の目的地に向かってのパスをトレースします |
| ResetPath | 現在の経路を削除します |
| Resume | 現在の経路に沿って、一時停止していたエージェントの動きを再開させます |
| SamplePathPosition | 現在の経路に沿って位置をサンプリングします |
| SetDestination | 移動先の目的地点を新規設定または更新して、新たに経路探索を開始します |
| SetLayerCost | レイヤータイプのジオメトリ上を横切るためのコストを設定します |
| SetPath | エージェントに新たな経路を割り当てます |
| Stop | Stop movement of this agent along its current path. |
| Warp | Warps agent to the provided position. |
| enabled | 有効であれば更新され、無効であれば更新されません。 |
| isActiveAndEnabled | Has the Behaviour had enabled called. |
| animation | GameObjectにアタッチされたAnimation (アタッチされていない場合はnull) |
| audio | GameObjectにアタッチされたAudioSource (アタッチされていない場合はnull) |
| camera | GameObjectにアタッチされたCamera (アタッチされていない場合はnull) |
| collider | GameObjectにアタッチされたCollider (アタッチされていない場合はnull) |
| collider2D | GameObjectにアタッチされたCollider2D |
| constantForce | GameObjectにアタッチされたConstantForce (アタッチされていない場合はnull) |
| gameObject | このコンポーネントはゲームオブジェクトにアタッチされます。コンポーネントはいつもゲームオブジェクトにアタッチされています。 |
| guiText | GameObjectにアタッチされたGUIText (アタッチされていない場合はnull) |
| guiTexture | GameObjectにアタッチされたGUITexture (アタッチされていない場合はnull) |
| hingeJoint | GameObjectにアタッチされたHingeJoint (アタッチされていない場合はnull) |
| light | GameObjectにアタッチされたLight (アタッチされていない場合はnull) |
| networkView | GameObjectにアタッチされたNetworkView (アタッチされていない場合はnull) |
| particleEmitter | GameObjectにアタッチされたParticleEmitter (アタッチされていない場合はnull) |
| particleSystem | GameObjectにアタッチされたParticleSystem (アタッチされていない場合はnull) |
| renderer | GameObjectにアタッチされたRenderer (アタッチされていない場合はnull) |
| rigidbody | GameObjectにアタッチされたRigidbody (アタッチされていない場合はnull) |
| rigidbody2D | GameObjectにアタッチされたRigidbody2D |
| tag | ゲームオブジェクトのタグ |
| transform | GameObjectにアタッチされたTransform (アタッチされていない場合はnull) |
| hideFlags | オブジェクトは非表示、シーンに保存、ユーザーが編集可能などを行うかどうか |
| name | オブジェクト名 |
| BroadcastMessage | ゲームオブジェクトまたは子オブジェクトにある すべての MonoBehaviour を継承したクラスにある methodName 名のメソッドを呼び出します。 |
| CompareTag | Is this game object tagged with /tag/? |
| GetComponent | Returns the component of Type type if the game object has one attached, null if it doesn't. |
| GetComponentInChildren | Returns the component of Type type in the GameObject or any of its children using depth first search. |
| GetComponentInParent | Returns the component of Type type in the GameObject or any of its parents. |
| GetComponents | Returns all components of Type type in the GameObject. |
| GetComponentsInChildren | Returns all components of Type type in the GameObject or any of its children. |
| GetComponentsInParent | Returns all components of Type type in the GameObject or any of its parents. |
| SendMessage | Calls the method named methodName on every MonoBehaviour in this game object. |
| SendMessageUpwards | Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour. |
| GetInstanceID | Returns the instance id of the object. |
| ToString | ゲームオブジェクトの名前を返します |
| Destroy | ゲームオブジェクト、コンポーネントやアセットを削除します |
| DestroyImmediate | 直ちにオブジェクトを破壊する。ですが、Destroy関数の方を使うことを推奨します |
| DontDestroyOnLoad | 新しいシーンを読み込んでもオブジェクトが自動で破壊されないように設定します |
| FindObjectOfType | タイプから最初に見つけたアクティブのオブジェクトを返します |
| FindObjectsOfType | タイプから見つけた全てのアクティブのオブジェクト配列を返します |
| Instantiate | original のオブジェクトをクローンします |
| bool | オブジェクトが存在するかどうか |
| operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します |
| operator == | 二つのオブジェクトが同じオブジェクトを参照しているか比較します |