M_MSCLoader_PlayMakerExtensions_FsmInject_1 - piotrulos/MSCModLoader GitHub Wiki
Note: This API is now obsolete.
FSM Inject as extension (same as old FsmHook.FsmInject)
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346
C#
[ObsoleteAttribute("Please use the other FsmInject extension", true)]
public static void FsmInject(
this GameObject gameObject,
string stateName,
Action hook
)
View Source
- GameObject
- GameObject where to hook
- String
- Name of the state
- Action
- Your function to hook
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).
PlayMakerExtensions Class
FsmInject Overload
MSCLoader Namespace