Click or drag to resize

ModBroadcastMessage Method

Overload List
  NameDescription
Public methodStatic memberBroadcastMessage(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.
Public methodStatic memberBroadcastMessage(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 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. This overload allows a single value to be passed as an argument.
Public methodStatic memberBroadcastMessage(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 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. This overload allows an undefined number of values to be apssed as arguments.
Top
See Also