Class SyncPrefab
This class specifies information about a collection of SyncObjectInstance.
Inherited Members
Namespace: Unity.Reflect.Model
Syntax
public class SyncPrefab : ISyncModel
Constructors
SyncPrefab()
Creates an empty SyncPrefab.
Declaration
public SyncPrefab()
SyncPrefab(SyncId, String)
Creates a SyncPrefab.
Declaration
public SyncPrefab(SyncId id, string name)
Parameters
Type | Name | Description |
---|---|---|
SyncId | id | The unique ID of the collection |
String | name | The name of the collection |
Fields
Extension
The file extension for this type
Declaration
public static string Extension
Field Value
Type | Description |
---|---|
String |
Properties
Id
The unique identifier of the object instance.
Declaration
public SyncId Id { get; }
Property Value
Type | Description |
---|---|
SyncId |
Implements
Instances
The instances included in the collection.
Declaration
public List<SyncObjectInstance> Instances { get; set; }
Property Value
Type | Description |
---|---|
List<SyncObjectInstance> |
Name
The name of the collection.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |