Class PlayMakerExtensions
Extensions for interacting with and modifying FSMs.
Inheritance
System.Object
PlayMakerExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: ItemChanger.dll
Syntax
public static class PlayMakerExtensions
Methods
|
Improve this Doc
View Source
AddFirstAction(FsmState, FsmStateAction)
Declaration
public static void AddFirstAction(this FsmState state, FsmStateAction action)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
FsmStateAction |
action |
|
|
Improve this Doc
View Source
AddFsmBool(PlayMakerFSM, String, Boolean)
Declaration
public static FsmBool AddFsmBool(this PlayMakerFSM fsm, string name, bool value)
Parameters
Type |
Name |
Description |
PlayMakerFSM |
fsm |
|
System.String |
name |
|
System.Boolean |
value |
|
Returns
|
Improve this Doc
View Source
AddFsmGameObject(PlayMakerFSM, String, GameObject)
Declaration
public static FsmGameObject AddFsmGameObject(this PlayMakerFSM fsm, string name, GameObject value)
Parameters
Type |
Name |
Description |
PlayMakerFSM |
fsm |
|
System.String |
name |
|
GameObject |
value |
|
Returns
Type |
Description |
FsmGameObject |
|
|
Improve this Doc
View Source
AddFsmInt(PlayMakerFSM, String, Int32)
Declaration
public static FsmInt AddFsmInt(this PlayMakerFSM fsm, string name, int value)
Parameters
Type |
Name |
Description |
PlayMakerFSM |
fsm |
|
System.String |
name |
|
System.Int32 |
value |
|
Returns
|
Improve this Doc
View Source
AddLastAction(FsmState, FsmStateAction)
Declaration
public static void AddLastAction(this FsmState state, FsmStateAction action)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
FsmStateAction |
action |
|
|
Improve this Doc
View Source
AddState(PlayMakerFSM, FsmState)
Declaration
public static void AddState(this PlayMakerFSM fsm, FsmState state)
Parameters
Type |
Name |
Description |
PlayMakerFSM |
fsm |
|
FsmState |
state |
|
|
Improve this Doc
View Source
AddState(PlayMakerFSM, String)
Declaration
public static FsmState AddState(this PlayMakerFSM fsm, string name)
Parameters
Type |
Name |
Description |
PlayMakerFSM |
fsm |
|
System.String |
name |
|
Returns
Type |
Description |
FsmState |
|
|
Improve this Doc
View Source
AddTransition(FsmState, FsmEvent, FsmState)
Declaration
public static FsmTransition AddTransition(this FsmState state, FsmEvent fsmEvent, FsmState toState)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
FsmEvent |
fsmEvent |
|
FsmState |
toState |
|
Returns
Type |
Description |
FsmTransition |
|
|
Improve this Doc
View Source
AddTransition(FsmState, String, FsmState)
Declaration
public static FsmTransition AddTransition(this FsmState state, string eventName, FsmState toState)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
System.String |
eventName |
|
FsmState |
toState |
|
Returns
Type |
Description |
FsmTransition |
|
|
Improve this Doc
View Source
AddTransition(FsmState, String, String)
Declaration
public static FsmTransition AddTransition(this FsmState state, string eventName, string toState)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
System.String |
eventName |
|
System.String |
toState |
|
Returns
Type |
Description |
FsmTransition |
|
|
Improve this Doc
View Source
ClearActions(FsmState)
Declaration
public static void ClearActions(this FsmState state)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
|
Improve this Doc
View Source
ClearTransitions(FsmState)
Declaration
public static void ClearTransitions(this FsmState state)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
|
Improve this Doc
View Source
GetActionsOfType<T>(FsmState)
Declaration
public static T[] GetActionsOfType<T>(this FsmState state)
where T : FsmStateAction
Parameters
Type |
Name |
Description |
FsmState |
state |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetFirstActionOfType<T>(FsmState)
Declaration
public static T GetFirstActionOfType<T>(this FsmState state)
where T : FsmStateAction
Parameters
Type |
Name |
Description |
FsmState |
state |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetState(PlayMakerFSM, String)
Declaration
public static FsmState GetState(this PlayMakerFSM fsm, string name)
Parameters
Type |
Name |
Description |
PlayMakerFSM |
fsm |
|
System.String |
name |
|
Returns
Type |
Description |
FsmState |
|
|
Improve this Doc
View Source
InsertAction(FsmState, FsmStateAction, Int32)
Declaration
public static void InsertAction(this FsmState state, FsmStateAction action, int index)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
FsmStateAction |
action |
|
System.Int32 |
index |
|
|
Improve this Doc
View Source
RemoveAction(FsmState, Int32)
Declaration
public static void RemoveAction(this FsmState state, int index)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
System.Int32 |
index |
|
|
Improve this Doc
View Source
RemoveActionsOfType<T>(FsmState)
Declaration
public static void RemoveActionsOfType<T>(this FsmState state)
where T : FsmStateAction
Parameters
Type |
Name |
Description |
FsmState |
state |
|
Type Parameters
|
Improve this Doc
View Source
RemoveFirstActionOfType<T>(FsmState)
Declaration
public static void RemoveFirstActionOfType<T>(this FsmState state)
where T : FsmStateAction
Parameters
Type |
Name |
Description |
FsmState |
state |
|
Type Parameters
|
Improve this Doc
View Source
RemoveTransitionsOn(FsmState, String)
Declaration
public static void RemoveTransitionsOn(this FsmState state, string eventName)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
System.String |
eventName |
|
|
Improve this Doc
View Source
RemoveTransitionsTo(FsmState, String)
Declaration
public static void RemoveTransitionsTo(this FsmState state, string toState)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
System.String |
toState |
|
|
Improve this Doc
View Source
ReplaceAction(FsmState, FsmStateAction, Int32)
Declaration
public static void ReplaceAction(this FsmState state, FsmStateAction action, int index)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
FsmStateAction |
action |
|
System.Int32 |
index |
|
|
Improve this Doc
View Source
SetActions(FsmState, FsmStateAction[])
Declaration
public static void SetActions(this FsmState state, params FsmStateAction[] actions)
Parameters
Type |
Name |
Description |
FsmState |
state |
|
FsmStateAction[] |
actions |
|
|
Improve this Doc
View Source
SetToState(FsmTransition, FsmState)
Declaration
public static void SetToState(this FsmTransition transition, FsmState toState)
Parameters
Type |
Name |
Description |
FsmTransition |
transition |
|
FsmState |
toState |
|