Skip to content

M_MSCLoader_PlayMakerExtensions_AddState

piotrulos edited this page Apr 7, 2023 · 4 revisions

PlayMakerExtensions.AddState Method

Adds an empty FsmState to the PlayMakerFSM

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

Syntax

C#

public static FsmState AddState(
	this PlayMakerFSM pm,
	string stateName
)

View Source

Parameters

 

pm
Type: PlayMakerFSM
PlayMakerFSM
stateName
Type: System.String
Name of the 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 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).

See Also

Reference

PlayMakerExtensions Class
MSCLoader Namespace

Clone this wiki locally