Click or drag to resize

ModBehaviourVirtualMessage Method

Overload List
  NameDescription
Public methodVirtualMessage(String)
Allows the developer to trigger a callback that inheriting mod classes may listen for. Works in a similar way to the 'SendMessage' method of Unity except that only mod classes inheriting from this class can be triggered. An example would be triggering a damage message to indicate to modders that this object is taking damage.
Public methodVirtualMessage(String, Object)
Allows the developer to trigger a callback that inheriting mod classes may listen for. Works in a similar way to the 'SendMessage' method of Unity except that only mod classes inheriting from this class can be triggered. This overload allows a single argument to be passed. An example would be triggering a damage message to indicate to modders that this object is taking damage.
Public methodVirtualMessage(String, Object)
Allows the developer to trigger a callback that inheriting mod classes may listen for. Works in a similar way to the 'SendMessage' method of Unity except that only mod classes inheriting from this class can be triggered. This overload allows an undefined number of arguments to be passed. An example would be triggering a damage message to indicate to modders that this object is taking damage.
Top
See Also