TreeBehaviourNode

クラス in Arbor.BehaviourTree / 継承元: TreeNodeBase
インターフェイス実装: INodeBehaviourContainer

説明

TreeNodeBehaviourを持つノードの基本クラス

プロパティ

プロパティ名 説明
behaviour メインのBehaviour
breakPoint ブレークポイント。 このプロパティがtrueのとき、ノードがアクティブになったタイミングでエディタがポーズ状態になります。
decoratorList Decoratorのリスト
serviceList Serviceのリスト

メソッド

メソッド名 説明
AddDecorator Decoratorを追加。
AddService Serviceを追加。
DestroyAllBehaviour 全てのBehaviourを破棄。
DestroyBehaviour Behaviourを破棄。
GetBehaviourObject メインのBehaviourのObjectを取得。
InsertDecorator Decoratorを挿入。
InsertService Serviceを挿入。
IsContainsBehaviour NodeBehaviourを含んでいるかをチェックする。
MoveDecorator Decoratorの順番を移動する。
MoveService Serviceの順番を移動する。
OnGraphChanged Nodeが所属するNodeGraphが変わった際に呼ばれる。
SetBehaviour メインのBehaviourを設定

継承元メンバー

フィールド

フィールド名 説明
nodeComment コメント
position Arbor Editor上での位置。
showComment コメントを表示するかどうか

プロパティ

プロパティ名 説明
behaviourTree ビヘイビアツリーを取得。
enablePriority ルートノードから辿って接続されていればtrueを返す。
isActive アクティブならtrueを返す。
nodeGraph NodeGraphを取得。
nodeID ノードIDを取得。
parentNode 親ノードを取得。
priority ノードの優先順位。
status ノードの状態。

メソッド

メソッド名 説明
GetName ノードの名前を取得
GetParentLinkSlot 親へのNodeLinkSlotを取得。
HasChildLinkSlot 子へのNodeLinkSlotを持っているかどうか
HasParentLinkSlot 親へのNodeLinkSlotを持っているかどうか
IsDeletable 削除できるかどうかを返す。
OnExecute 実行する際に呼ばれる。
ToString ノードを文字列に変換(デバッグ用)。