sync

sync. sync

Enables the synchronization of properties of the entity. Must be used in conjuction with the sync.sync-system component and a component for a specific property (e.g. sync.sync-transform).

Properties:
Name Type Description
ownOn string

The name of the event, or a list of events, that will cause the local client to take ownership of this object. This field cannot be updated after initialization.

Members

(readonly) isMine

Indicates whether the sync ownership is yours.

Methods

takeOwnership()

Tell sync to start pushing local property values instead of updating local from remote values.