M_MSCLoader_PlayMakerExtensions_GetPlayMakerState - piotrulos/MSCModLoader GitHub Wiki
Get PlayMaker state from this object by Name
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346
C#
public static FsmState GetPlayMakerState(
this GameObject obj,
string stateName
)
View Source
- GameObject
- this game object
- String
- Name of the PlayMaker state
FsmState
FsmState
In Visual Basic and C#, you can call this method as an instance method on any object of type GameObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).