Provides a in-editor way to listen for messages and invoke events when they occur, and to send a message on demand. More...
Classes | |
class | MessageEvent |
class | MessageToSend |
Public Member Functions | |
virtual void | OnMessage (MessageArgs messageArgs) |
Handles a message that the message handler is listening for. | |
virtual void | SendToMessageSystem (int index) |
Protected Member Functions | |
virtual void | OnEnable () |
virtual void | OnDisable () |
virtual bool | IsParticipantOk (GameObject requiredParticipant, object actualParticipant) |
Properties | |
MessageEvent[] | messagesToListenFor [get, set] |
Listen for these messages and invoke an event when each message occurs. | |
MessageToSend[] | messagesToSend [get, set] |
Send this message on demand by calling SendToMessageSystem(). | |
Provides a in-editor way to listen for messages and invoke events when they occur, and to send a message on demand.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlinevirtual |
Handles a message that the message handler is listening for.
messageArgs | The message that was sent to the MessageSystem. |
Implements PixelCrushers.IMessageHandler.
|
inlinevirtual |
|
getset |
Listen for these messages and invoke an event when each message occurs.
|
getset |
Send this message on demand by calling SendToMessageSystem().