Skip to content

M_MSCLoader_PlayMakerExtensions_GetPlayMakerState

piotrulos edited this page Apr 7, 2023 · 4 revisions

PlayMakerExtensions.GetPlayMakerState Method

Get PlayMaker state from this object by Name

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.11.286

Syntax

C#

public static FsmState GetPlayMakerState(
	this GameObject obj,
	string stateName
)

View Source

Parameters

 

obj
Type: GameObject
this game object
stateName
Type: System.String
Name of the PlayMaker state

Return Value

Type: FsmState
FsmState

Usage Note

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).

See Also

Reference

PlayMakerExtensions Class
MSCLoader Namespace

Clone this wiki locally