StrixReplicator Class |
Namespace: SoftGear.Strix.Unity.Runtime
public class StrixReplicator : MonoBehaviour
The StrixReplicator type exposes the following members.
Name | Description | |
---|---|---|
![]() | StrixReplicator | Initializes a new instance of the StrixReplicator class |
Name | Description | |
---|---|---|
![]() | isLocal | if this object is not a representation of a remote object; otherwise.
|
![]() | isSync | if you are the owner of the object and the object is being synchronized over network; otherwise.
|
![]() | ownerUid |
UID of the room member who owns this object.
|
Name | Description | |
---|---|---|
![]() | CheckCreationPossibility |
Checks if the object can be instantiated by this client.
|
![]() | CheckEditPossibility |
Checks if the object can be edited by this client.
|
![]() | DeserializeProperties | |
![]() | FixedUpdate | |
![]() | OnDestroy | |
![]() | SerializeProperties |
Serializes the properties of all the StrixBehaviours on this game object and sends them over network. This method is called automatically as often as specified by the sendRate property. |
Name | Description | |
---|---|---|
![]() | ConnectionClosedBehaviour |
Determines what happens with the object when the connection closes.
|
![]() | InstantiableBy |
Determines if this object can be instantiated only by the room's owner or by anyone.
This value should be set before spawning the object.
|
![]() | networkInstanceId |
Used to uniquely identify this object on the network.
|
![]() | objectType |
Strix object type. Used to determine the type of object to be created on the remote clients.
|
![]() | replica |
Replica object reference.
|
![]() | roomMember |
Information about the room member who owns this object.
|
![]() | sendRate |
Determines how often the synchronization of the variables is going to happen. (times per second)
|
![]() | strixBehaviours |
The list of all StrixBehaviours on this gameObject.
|
![]() | syncDestroy |
Determines if the local object should also be destroyed when it is destroyed on the owner's side.
|