ModBroadcastMessage 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 but the message will only be sent to modded scripts.
Allows the developer to implement event callbacks similar to mono behaviour messages such as OnTriggerEnter.
Namespace:
UMod
Assembly:
UMod (in UMod.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void BroadcastMessage(
string methodName
)
Parameters
- methodName
- Type: SystemString
The name of the method to trigger
See Also