Click or drag to resize

CustomMessageManager Methods

The CustomMessageManager type exposes the following members.

Methods
  NameDescription
Public methodClearCustomMessageCallback
Clear a message callback for a custom message that was set up
Public methodCoroutineInitialise
Override this to perform initialisation tasks This coroutine is started in Awake(). To execute code in Awake(), override OnAwake()
(Overrides SingletonBehaviourCoroutineInitialise.)
Public methodDeleteAllMessages
Delete all custom and state synchroniser persisted messages
Public methodDeleteMessage
Delete a specific persisted message
Public methodStatic memberIsMessageTypeValid
Returns true if message ID is within the valid range
Protected methodOnAwake
Unity component method
(Overrides SingletonBehaviourOnAwake.)
Public methodProcessSavedMessages
Process messages that arrived before the receiver was ready
Public methodRegisterCustomMessageCallback
Register a message callback for a custom message that was set up
Public methodSendCustomMessage(UInt16, Byte)
Sends a custom message
Public methodSendCustomMessage(UInt16, Object)
Sends a custom message
Public methodSendCustomMessage(UInt16, String)
Sends a custom message
Public methodSendCustomMessage(UInt16, Byte, MessageID)
Sends a custom message
Public methodSendCustomMessage(UInt16, Object, MessageID)
Sends a custom message with a message id. This is required for persisting messages
Public methodSendCustomMessage(UInt16, String, MessageID)
Sends a custom message with a message id. This is required for persisting messages
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also