<aside> ℹ️ You can also transmit custom data to other clients using a PluginSyncable, see the PluginSyncable page for more information
</aside>
InstantMessageHandlers vs PluginSyncables
PluginSyncable | InstantMessageHandler |
---|---|
Is stateful - once its state is updated it’ll be retained until it is updated again. This means any clients joining the instance after the state has been updated will still receive that current state | Is stateless - messages are sent only once, meaning any clients joining the instance after the message has been sent will never receive that message, unless it is sent again |
Data isn’t transmitted until the beginning of the next physics frame (FixedUpdate) | Data is transmitted instantly, no waiting for the next FixedUpdate |