Arbor 3: FSM & BT Graph Editor
3.7.8
|
Class that defines the behavior of the State. More...
Public Member Functions | |
virtual void | OnStateAwake () |
Called when [state enter first]. More... | |
virtual void | OnStateBegin () |
Called when [state enter]. More... | |
virtual void | OnStateUpdate () |
Update of State. More... | |
virtual void | OnStateLateUpdate () |
LateUpdate for State. More... | |
virtual void | OnStateEnd () |
Called when [state exit]. More... | |
virtual void | OnStateTrigger (string message) |
Called from SendTrigger. More... | |
bool | Transition (int nextStateID, TransitionTiming transitionTiming) |
State transition More... | |
bool | Transition (int nextStateID, bool immediateTransition) |
State transition More... | |
bool | Transition (int nextStateID) |
State transition. More... | |
bool | Transition (State nextState, TransitionTiming transitionTiming) |
State transition More... | |
bool | Transition (State nextState, bool immediateTransition) |
State transition More... | |
bool | Transition (State nextState) |
State transition. More... | |
bool | Transition (StateLink nextStateLink, TransitionTiming transitionTiming) |
State transition More... | |
bool | Transition (StateLink nextStateLink, bool immediateTransition) |
State transition More... | |
bool | Transition (StateLink nextStateLink) |
State transition. More... | |
StateBehaviour | AddBehaviour (System.Type type) |
Adds the behaviour. More... | |
T | AddBehaviour< T > () |
Adds the behaviour. More... | |
StateBehaviour | GetBehaviour (System.Type type) |
Gets the behaviour. More... | |
T | GetBehaviour< T > () |
Gets the behaviour. More... | |
StateBehaviour[] | GetBehaviours (System.Type type) |
Gets the behaviours. More... | |
T[] | GetBehaviours< T > () |
Gets the behaviours. More... | |
void | Destroy () |
Destroys this instance. More... | |
StateLink | GetStateLink (int index) |
Return StateLink of index. More... | |
void | RebuildStateLinkCache () |
Rebuild StateLink's cache. More... | |
Public Member Functions inherited from NodeBehaviour | |
void | RebuildFields () |
For internal. More... | |
DataSlotField | GetDataSlotField (int index) |
Get DataSlotField. More... | |
DataSlotField | GetCalculatorSlotField (int index) |
Get DataSlotField. More... | |
DataSlotField | GetDataSlotField (DataSlot slot, bool rebuild=false) |
Get DataSlotField. More... | |
DataSlotField | GetCalculatorSlotField (DataSlot slot) |
Get DataSlotField. More... | |
void | RebuildDataSlotFields () |
Rebuild the DataSlotField. More... | |
void | RebuildCalculatorSlotFields () |
Rebuild the DataSlotField. More... | |
void | Initialize (NodeGraph nodeGraph, int nodeID) |
For Editor. More... | |
void | UpdateDataLink () |
Manually update DataLink values. More... | |
Public Attributes | |
bool | expanded = true |
Expanded on ArborEditorWindow. More... | |
Protected Member Functions | |
sealed override void | OnInitializeEnabled () |
Called to perform enabled initialization. More... | |
Protected Member Functions inherited from NodeBehaviour | |
virtual void | OnValidate () |
See MonoBehaviour.OnValidate. More... | |
virtual void | OnCreated () |
Raises the created event. More... | |
virtual void | OnPreDestroy () |
Raises the pre destroy event. More... | |
virtual void | OnGraphPause () |
This function is called when the graph is paused. More... | |
virtual void | OnGraphResume () |
This function is called when the graph resumes. More... | |
virtual void | OnGraphStop () |
This function is called when the graph stops. More... | |
Properties | |
ArborFSMInternal | stateMachine [get] |
Gets the state machine. More... | |
State | state [get] |
Get the State. More... | |
int | stateID [get] |
Gets the state identifier. More... | |
bool | behaviourEnabled [get, set] |
Gets or sets a value indicating whether [behaviour enabled]. More... | |
State? | prevTransitionState [get] |
Prev state More... | |
State? | nextTransitionState [get] |
Next state More... | |
int | stateLinkCount [get] |
Count of StateLink. More... | |
bool | isCalledActivate [get] |
Whether the activation callback was made More... | |
Properties inherited from NodeBehaviour | |
NodeGraph | nodeGraph [get] |
Gets the NodeGraph. More... | |
int | nodeID [get] |
Gets the node identifier. More... | |
Node | node [get] |
Get the Node. More... | |
int | dataSlotFieldCount [get] |
Number of DataSlotField More... | |
int | calculatorSlotFieldCount [get] |
Number of DataSlotField More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from NodeBehaviour | |
static NodeBehaviour | CreateNodeBehaviour (Node node, System.Type type, bool duplicate=false) |
For Editor. More... | |
static Type | CreateNodeBehaviour< Type > (Node node, bool duplicate=false) |
For Editor. More... | |
static void | Destroy (NodeBehaviour behaviour) |
Destroy NodeBehaviour. More... | |
StateBehaviour AddBehaviour | ( | System.Type | type | ) |
T AddBehaviour< T > | ( | ) |
Adds the behaviour.
T | Type of add StateBehaviour |
T | : | StateBehaviour |
void Destroy | ( | ) |
Destroys this instance.
StateBehaviour GetBehaviour | ( | System.Type | type | ) |
Gets the behaviour.
type | Type of you want to get StateBehaviour. |
T GetBehaviour< T > | ( | ) |
Gets the behaviour.
T | Type of you want to get StateBehaviour. |
T | : | StateBehaviour |
StateBehaviour [] GetBehaviours | ( | System.Type | type | ) |
Gets the behaviours.
type | Type of you want to get StateBehaviour. |
T [] GetBehaviours< T > | ( | ) |
Gets the behaviours.
T | Type of you want to get StateBehaviour. |
T | : | StateBehaviour |
StateLink GetStateLink | ( | int | index | ) |
|
protectedvirtual |
Called to perform enabled initialization.
Reimplemented from NodeBehaviour.
|
virtual |
Called when [state enter first].
|
virtual |
Called when [state enter].
Reimplemented in SetParameterBehaviourInternal.
|
virtual |
Called when [state exit].
Reimplemented in SetParameterBehaviourInternal.
|
virtual |
LateUpdate for State.
Every frame, called after all updates.
Reimplemented in SetParameterBehaviourInternal.
|
virtual |
Called from SendTrigger.
message | Message |
|
virtual |
void RebuildStateLinkCache | ( | ) |
Rebuild StateLink's cache.
bool Transition | ( | int | nextStateID | ) |
bool Transition | ( | int | nextStateID, |
bool | immediateTransition | ||
) |
bool Transition | ( | int | nextStateID, |
TransitionTiming | transitionTiming | ||
) |
bool Transition | ( | State | nextState | ) |
State transition.
Timing to actually transition current frame last (when LateUpdate).
nextState | Destination state. |
bool Transition | ( | State | nextState, |
bool | immediateTransition | ||
) |
State transition
nextState | Destination state. |
immediateTransition | Whether or not to transition immediately. If false I will transition to the end of the current frame (when LateUpdate). |
bool Transition | ( | State | nextState, |
TransitionTiming | transitionTiming | ||
) |
State transition
nextState | Destination state. |
transitionTiming | Transition timing. |
bool Transition | ( | StateLink | nextStateLink | ) |
State transition.
Timing to actually transition current frame last (when LateUpdate).
nextStateLink | The destination of transition. |
bool Transition | ( | StateLink | nextStateLink, |
bool | immediateTransition | ||
) |
State transition
nextStateLink | The destination of transition. |
immediateTransition | Whether or not to transition immediately. If false I will transition to the end of the current frame (when LateUpdate). |
bool Transition | ( | StateLink | nextStateLink, |
TransitionTiming | transitionTiming | ||
) |
State transition
nextStateLink | The destination of transition. |
transitionTiming | Transition timing. |
bool expanded = true |
Expanded on ArborEditorWindow.
|
getset |
Gets or sets a value indicating whether [behaviour enabled].
true
if [behaviour enabled]; otherwise, false
.
|
get |
Whether the activation callback was made
|
get |
Next state
|
get |
Prev state
|
get |
Gets the state identifier.
|
get |
Count of StateLink.
|
get |
Gets the state machine.