Click or drag to resize

ModBehaviourVirtualMessage Method (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.

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

Parameters

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