![]() | CustomMessageManager Class |
Namespace: ImmerseSDK.Multiplayer.Messaging
public class CustomMessageManager : SingletonBehaviour
The CustomMessageManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | CustomMessageManager | Initializes a new instance of the CustomMessageManager class |
Name | Description | |
---|---|---|
![]() | IsPaused |
Returns true is messages will be kept and not processed (paused state), or false if messages are being processed (unpaused state)
|
Name | Description | |
---|---|---|
![]() | ClearCustomMessageCallback |
Clear a message callback for a custom message that was set up
|
![]() | CoroutineInitialise |
Override this to perform initialisation tasks
This coroutine is started in Awake().
To execute code in Awake(), override OnAwake()
(Overrides SingletonBehaviourCoroutineInitialise.) |
![]() | DeleteAllMessages |
Delete all custom and state synchroniser persisted messages
|
![]() | DeleteMessage |
Delete a specific persisted message
|
![]() ![]() | IsMessageTypeValid |
Returns true if message ID is within the valid range
|
![]() | OnAwake |
Unity component method
(Overrides SingletonBehaviourOnAwake.) |
![]() | ProcessSavedMessages |
Process messages that arrived before the receiver was ready
|
![]() | RegisterCustomMessageCallback |
Register a message callback for a custom message that was set up
|
![]() | SendCustomMessage(UInt16, Byte) |
Sends a custom message
|
![]() | SendCustomMessage(UInt16, Object) |
Sends a custom message
|
![]() | SendCustomMessage(UInt16, String) |
Sends a custom message
|
![]() | SendCustomMessage(UInt16, Byte, MessageID) |
Sends a custom message
|
![]() | SendCustomMessage(UInt16, Object, MessageID) |
Sends a custom message with a message id. This is required for persisting messages
|
![]() | SendCustomMessage(UInt16, String, MessageID) |
Sends a custom message with a message id. This is required for persisting messages
|
Name | Description | |
---|---|---|
![]() | GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) |
![]() | WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |