ModBehaviourBroadcastModMessage Method |
Name | Description | |
---|---|---|
BroadcastModMessage(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.
| |
BroadcastModMessage(String, Object) |
Allows the developer to trigger an event that mod classes may listen to.
Works in a similar way to the 'SendMessage' method of Unity.
This overload allows a single value to be passed as an argument.
An example would be triggering a game over message to inform the mod that the game has ended.
| |
BroadcastModMessage(String, Object) |
Allows the developer to trigger an event that mod classes may listen to.
Works in a similar way to the 'SendMessage' method of Unity.
This overload allows an any number of values to be passed as arguments, Referenced Unity types are allowed.
An example would be triggering a game over message to inform the mod that the game has ended.
|