Click or drag to resize

StrixReplicator Class

The component that enables the synchronization of a game object using Strix Network.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          SoftGear.Strix.Unity.RuntimeStrixReplicator

Namespace:  SoftGear.Strix.Unity.Runtime
Assembly:  StrixUnityRuntime (in StrixUnityRuntime.dll) Version: 1.5.0
Syntax
C#
public class StrixReplicator : MonoBehaviour

The StrixReplicator type exposes the following members.

Constructors
  NameDescription
Public methodStrixReplicator
Initializes a new instance of the StrixReplicator class
Top
Properties
  NameDescription
Public propertyisLocal
if this object is not a representation of a remote object; otherwise.
Public propertyisSync
if you are the owner of the object and the object is being synchronized over network; otherwise.
Public propertyownerUid
UID of the room member who owns this object.
Top
Methods
  NameDescription
Public methodCheckCreationPossibility
Checks if the object can be instantiated by this client.
Public methodCheckEditPossibility
Checks if the object can be edited by this client.
Public methodDeserializeProperties
Public methodFixedUpdate
Public methodOnDestroy
Public methodSerializeProperties
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.
Top
Fields
  NameDescription
Public fieldConnectionClosedBehaviour
Determines what happens with the object when the connection closes.
Public fieldInstantiableBy
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.
Public fieldnetworkInstanceId
Used to uniquely identify this object on the network.
Public fieldobjectType
Strix object type. Used to determine the type of object to be created on the remote clients.
Public fieldreplica
Replica object reference.
Public fieldroomMember
Information about the room member who owns this object.
Public fieldsendRate
Determines how often the synchronization of the variables is going to happen. (times per second)
Public fieldstrixBehaviours
The list of all StrixBehaviours on this gameObject.
Public fieldsyncDestroy
Determines if the local object should also be destroyed when it is destroyed on the owner's side.
Top
See Also