EnableSynchronizable Class

A component for synchronizing the enabling or disabling of a GameObject across multiple clients in a multiplayer environment.

Definition

Namespace: Alteruna.Multiplayer.Unity
Assembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public class EnableSynchronizable : AttributesSync
Inheritance
Object    Object    Component    Behaviour    MonoBehaviour    CommunicationBridge    CommunicationBridgeUID    AttributesSync    EnableSynchronizable

Constructors

Methods

OnEnable Invoked when the GameObject is enabled. Registers the object for synchronization and, if owned by the current user and in a multiplayer room, requests enabling the GameObject for all users.
(Overrides CommunicationBridgeUIDOnEnable)
Possessed Called when the object is possessed. Sets the ownership status of the GameObject.
(Overrides CommunicationBridgePossessed(Boolean, User))
Reset 

See Also