|
Arbor: State Diagram Editor
2.2.0
|
ステートを表すクラス More...
Public Member Functions | |
| State (ArborFSMInternal stateMachine, int nodeID, bool resident) | |
| ステートの生成はArborFSMInternal.CreateStateを使用してください。 More... | |
| void | AddBehaviour (StateBehaviour behaviour) |
| StateBehaviourを追加。 More... | |
| StateBehaviour | AddBehaviour (System.Type type) |
| StateBehaviourを追加。 More... | |
| T | AddBehaviour< T > () |
| StateBehaviourを追加。 More... | |
| StateBehaviour | InsertBehaviour (int index, System.Type type) |
| StateBehaviourを挿入。 More... | |
| T | InsertBehaviour< T > (int index, System.Type type) |
| StateBehaviourを追加。 More... | |
| StateBehaviour | GetBehaviourFromIndex (int index) |
| StateBehaviourをindexから取得。 More... | |
| Object | GetBehaviourObjectFromIndex (int index) |
| StateBehaviourのObjectをindexから取得。 More... | |
| StateBehaviour | GetBehaviour (System.Type type) |
| StateBehaviourを取得。 More... | |
| T | GetBehaviour< T > () |
| StateBehaviourを取得。 More... | |
| StateBehaviour[] | GetBehaviours (System.Type type) |
| StateBehaviourを取得。 More... | |
| T[] | GetBehaviours< T > () |
| StateBehaviourを取得。 More... | |
| bool | Contains (StateBehaviour behaviour) |
| StateBehaviourが含まれているかどうか。 More... | |
| void | RemoveBehaviour (Object behaviourObj) |
| StateBehaviourを削除する。インスタンスは削除されないため、StateBehaviour.Destroyを使用すること。 More... | |
| void | SwapBehaviour (int fromIndex, int toIndex) |
| StateBehaviourの順番を入れ替える。 More... | |
| void | MoveBehaviour (int fromIndex, int toIndex) |
| StateBehaviourの順番を移動する。 More... | |
| delegate Object | InstanceIDToObject (int instanceID) |
| Editor用。 More... | |
| void | ForceRebuild (InstanceIDToObject instanceIDToObject) |
| Editor用。 More... | |
| void | Move (ArborFSMInternal stateMachine) |
| Editor用。 More... | |
| void | DisconnectState (int stateID) |
| 内部処理用。 More... | |
| void | DestroyBehaviour (Object behaviourObj) |
| void | DestroyBehaviours () |
| 内部処理用。 More... | |
| void | DestroySubComponents () |
| 内部処理用。 More... | |
| void | SetHideFlags (HideFlags hideFlags) |
| 内部処理用。 More... | |
| bool | IsStateMachine (ArborFSMInternal stateMachine) |
| 内部処理用。 More... | |
| void | EnableState (bool enable, bool changeState) |
| 内部処理用。 More... | |
| void | SendTrigger (string message) |
| トリガーメッセージを送信する。StateBehaviour.OnStateTriggerが呼び出される。 More... | |
Public Member Functions inherited from Node | |
| Node (ArborFSMInternal stateMachine, int nodeID) | |
Public Attributes | |
| string | name = "New State" |
| ステートの名前。 More... | |
Public Attributes inherited from Node | |
| Rect | position |
| Arbor Editor上での位置。 More... | |
| bool | showComment |
| コメントを表示するかどうか More... | |
| string | nodeComment |
| コメント More... | |
Properties | |
| StateBehaviour[] | behaviours [get] |
| int | behaviourCount [get] |
| Behaviourの数を取得。 More... | |
| int | stateID [get] |
| ステートIDを取得。 More... | |
| bool | resident [get] |
| 常駐するStateかどうかを取得。 More... | |
| bool | breakPoint [get, set] |
| int | transitionCount [get, set] |
Properties inherited from Node | |
| ArborFSMInternal | stateMachine [get] |
| FSMを取得。 More... | |
| int | nodeID [get] |
| ノードIDを取得。 More... | |
Additional Inherited Members | |
Protected Attributes inherited from Node | |
| ArborFSMInternal | _StateMachine |
| int | _NodeID |
ステートを表すクラス
| State | ( | ArborFSMInternal | stateMachine, |
| int | nodeID, | ||
| bool | resident | ||
| ) |
ステートの生成はArborFSMInternal.CreateStateを使用してください。
| void AddBehaviour | ( | StateBehaviour | behaviour | ) |
StateBehaviourを追加。
| behaviour | 追加するStateBehaviour |
| StateBehaviour AddBehaviour | ( | System.Type | type | ) |
StateBehaviourを追加。
| type | 追加するStateBehaviourの型 |
| T AddBehaviour< T > | ( | ) |
StateBehaviourを追加。
| T | 追加するStateBehaviourの型 |
| T | : | StateBehaviour |
| bool Contains | ( | StateBehaviour | behaviour | ) |
StateBehaviourが含まれているかどうか。
| behaviour | 判定するStateBehaviour。 |
| void DestroyBehaviour | ( | Object | behaviourObj | ) |
| void DestroyBehaviours | ( | ) |
内部処理用。
| void DestroySubComponents | ( | ) |
内部処理用。
| void DisconnectState | ( | int | stateID | ) |
内部処理用。
| void EnableState | ( | bool | enable, |
| bool | changeState | ||
| ) |
内部処理用。
| void ForceRebuild | ( | InstanceIDToObject | instanceIDToObject | ) |
Editor用。
| StateBehaviour GetBehaviour | ( | System.Type | type | ) |
StateBehaviourを取得。
| type | 取得したいStateBehaviourの型。 |
| T GetBehaviour< T > | ( | ) |
StateBehaviourを取得。
| T | 取得したいStateBehaviourの型。 |
| T | : | StateBehaviour |
| StateBehaviour GetBehaviourFromIndex | ( | int | index | ) |
| Object GetBehaviourObjectFromIndex | ( | int | index | ) |
StateBehaviourのObjectをindexから取得。
| index | インデックス |
| StateBehaviour [] GetBehaviours | ( | System.Type | type | ) |
StateBehaviourを取得。
| type | 取得したいStateBehaviourの型。 |
| T [] GetBehaviours< T > | ( | ) |
StateBehaviourを取得。
| T | 取得したいStateBehaviourの型。 |
| T | : | StateBehaviour |
| StateBehaviour InsertBehaviour | ( | int | index, |
| System.Type | type | ||
| ) |
StateBehaviourを挿入。
| index | 挿入先インデックス |
| type | 追加するStateBehaviourの型 |
| T InsertBehaviour< T > | ( | int | index, |
| System.Type | type | ||
| ) |
StateBehaviourを追加。
| T | 挿入するStateBehaviourの型 |
| index | 挿入先インデックス |
| T | : | StateBehaviour |
| delegate Object InstanceIDToObject | ( | int | instanceID | ) |
Editor用。
| bool IsStateMachine | ( | ArborFSMInternal | stateMachine | ) |
内部処理用。
| void Move | ( | ArborFSMInternal | stateMachine | ) |
Editor用。
| void MoveBehaviour | ( | int | fromIndex, |
| int | toIndex | ||
| ) |
StateBehaviourの順番を移動する。
| fromIndex | 移動させたいインデックス。 |
| toIndex | 移動先のインデックス。 |
| void RemoveBehaviour | ( | Object | behaviourObj | ) |
StateBehaviourを削除する。インスタンスは削除されないため、StateBehaviour.Destroyを使用すること。
| behaviourObj | 削除するStateBehaviour。 |
| void SendTrigger | ( | string | message | ) |
トリガーメッセージを送信する。StateBehaviour.OnStateTriggerが呼び出される。
| message |
| void SetHideFlags | ( | HideFlags | hideFlags | ) |
内部処理用。
| void SwapBehaviour | ( | int | fromIndex, |
| int | toIndex | ||
| ) |
StateBehaviourの順番を入れ替える。
| fromIndex | 入れ替えたいインデックス。 |
| toIndex | 入れ替え先インデックス。 |
| string name = "New State" |
ステートの名前。
|
get |
Behaviourの数を取得。
|
get |
|
getset |
|
get |
常駐するStateかどうかを取得。
|
get |
ステートIDを取得。
|
getset |