M_MSCLoader_PlayMakerExtensions_GetVariable__1 - piotrulos/MSCModLoader GitHub Wiki
Get a variable of specified type and name.
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346
C#
public static T GetVariable<T>(
this PlayMakerFSM pm,
string ID
)
where T : new()
View Source
- PlayMakerFSM
- PlayMakerFSM
- String
- Name of the variable to find.
- Type of variable to get.
T
PlayMaker variable
In Visual Basic and C#, you can call this method as an instance method on any object of type PlayMakerFSM. 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).