M_MSCLoader_PlayMakerExtensions_AddTransition - piotrulos/MSCModLoader GitHub Wiki

AddTransition Method

Adds a FsmTransition to the FsmState

Definition

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

C#

public static void AddTransition(
	this FsmState fs,
	string eventName,
	string stateName
)

View Source

Parameters

  FsmState
FsmState
  String
Name of the event
  String
Name of the state

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FsmState. 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

⚠️ **GitHub.com Fallback** ⚠️