Arbor 3: FSM & BT Graph Editor  3.1.2
CompositeBehaviour Class Reference

コンポジットの挙動を定義するクラス。継承して利用する。 More...

Inheritance diagram for CompositeBehaviour:
TreeNodeBehaviour NodeBehaviour

Public Member Functions

virtual bool CanExecute (NodeStatus childStatus)
 実行できるか判定する。 More...
 
- Public Member Functions inherited from NodeBehaviour
CalculatorSlotField GetCalculatorSlotField (int index)
 CalculatorSlotFieldを取得する。 More...
 
CalculatorSlotField GetCalculatorSlotField (CalculatorSlot slot)
 CalculatorSlotFieldを取得する。 More...
 
void RebuildCalculatorSlotFields ()
 CalculatorSlotFieldを再構築する。 More...
 
void Initialize (NodeGraph nodeGraph, int nodeID)
 Editor用。 More...
 

Properties

CompositeNode compositeNode [get]
 CompositeNodeを取得。 More...
 
- Properties inherited from TreeNodeBehaviour
BehaviourTreeInternal behaviourTree [get]
 ビヘイビアツリーを取得。 More...
 
TreeNodeBase treeNode [get]
 TreeNodeBaseを取得。 More...
 
- Properties inherited from NodeBehaviour
NodeGraph nodeGraph [get]
 NodeGraphを取得。 More...
 
int nodeID [get]
 ノードIDを取得。 More...
 
Node node [get]
 Nodeを取得。 More...
 
int calculatorSlotFieldCount [get]
 CalculatorSlotFieldの個数 More...
 

Additional Inherited Members

- Static Public Member Functions inherited from NodeBehaviour
static NodeBehaviour CreateNodeBehaviour (Node node, System.Type type, bool duplicate=false)
 Editor用。 More...
 
static Type CreateNodeBehaviour< Type > (Node node, bool duplicate=false)
 Editor用。 More...
 
static void Destroy (NodeBehaviour behaviour)
 NodeBehaviourを破棄する。 More...
 
- Public Attributes inherited from TreeNodeBehaviour
bool expanded = true
 ArborEditorWindow上での開閉状態。 More...
 
- Protected Member Functions inherited from TreeNodeBehaviour
sealed override void OnInitializeEnabled ()
 enabledの初期化を行うために呼ばれる。 More...
 
virtual void OnAwake ()
 この関数は自ノードが初めてアクティブになったときに呼ばれる。 More...
 
virtual void OnStart ()
 この関数は自ノードがアクティブになったときに呼ばれる。 More...
 
virtual void OnAbort ()
 この関数は自ノードが中止されるときに呼ばれる。 More...
 
virtual void OnEnd ()
 この関数は自ノードが終了したときに呼ばれる。 More...
 
- Protected Member Functions inherited from NodeBehaviour
virtual void OnValidate ()
 MonoBehaviour.OnValidate を参照してください More...
 
virtual void OnCreated ()
 生成時に呼ばれるメソッド. More...
 
virtual void OnPreDestroy ()
 破棄前に呼ばれるメソッド。 More...
 
virtual void OnGraphPause ()
 この関数はグラフが一時停止したときに呼ばれる。 More...
 
virtual void OnGraphResume ()
 この関数はグラフが再開したときに呼ばれる。 More...
 
virtual void OnGraphStop ()
 この関数はグラフが停止したときに呼ばれる。 More...
 

Detailed Description

コンポジットの挙動を定義するクラス。継承して利用する。

Member Function Documentation

virtual bool CanExecute ( NodeStatus  childStatus)
virtual

実行できるか判定する。

Parameters
childStatus子ノードの状態
Returns
実行できる場合はtrueを返す。

Property Documentation

CompositeNode compositeNode
get

CompositeNodeを取得。