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
| |
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 |
Sends a custom message
|
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.) |