Click or drag to resize

ModBehaviourBroadcastModMessage Method (String)

Allows the developer to trigger an event that mod classes may listen to. Works in a similar way to the 'SendMessage' method of Unity. An example would be triggering a game over message to inform the mod that the game has ended.

Namespace:  UMod
Assembly:  UMod (in UMod.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void BroadcastModMessage(
	string methodName
)

Parameters

methodName
Type: SystemString
The name of the method to trigger
See Also