Class SyncInstance | Unity Reflect | 1.3.0-preview.104
docs.unity3d.com
    Show / Hide Table of Contents

    Class SyncInstance

    Inheritance
    Object
    SyncInstance
    Namespace: UnityEngine.Reflect
    Syntax
    public class SyncInstance

    Constructors

    SyncInstance(Transform, String, String)

    Declaration
    public SyncInstance(Transform syncRoot, string syncPath, string sourceId)
    Parameters
    Type Name Description
    Transform syncRoot
    String syncPath
    String sourceId

    Properties

    Manifest

    Declaration
    public SyncManifest Manifest { get; }
    Property Value
    Type Description
    SyncManifest

    Methods

    ApplyModifications(SyncManifest)

    Declaration
    public bool ApplyModifications(SyncManifest manifest)
    Parameters
    Type Name Description
    SyncManifest manifest
    Returns
    Type Description
    Boolean

    ApplyPrefabChanges()

    Declaration
    public IEnumerator ApplyPrefabChanges()
    Returns
    Type Description
    IEnumerator

    GetInstanceCount()

    Declaration
    public int GetInstanceCount()
    Returns
    Type Description
    Int32

    GetPrefab()

    Declaration
    public SyncPrefab GetPrefab()
    Returns
    Type Description
    SyncPrefab

    RemoveVisibilityFilter(ISet<SyncObjectBinding.Identifier>)

    Declaration
    public void RemoveVisibilityFilter(ISet<SyncObjectBinding.Identifier> filter)
    Parameters
    Type Name Description
    ISet<SyncObjectBinding.Identifier> filter

    SetVisibilityFilter(ISet<SyncObjectBinding.Identifier>)

    Declaration
    public void SetVisibilityFilter(ISet<SyncObjectBinding.Identifier> filter)
    Parameters
    Type Name Description
    ISet<SyncObjectBinding.Identifier> filter

    Events

    onObjectChanged

    Declaration
    public event SyncInstance.ObjectEventHandler onObjectChanged
    Event Type
    Type Description
    SyncInstance.ObjectEventHandler

    onObjectCreated

    Declaration
    public event SyncInstance.ObjectEventHandler onObjectCreated
    Event Type
    Type Description
    SyncInstance.ObjectEventHandler

    onObjectDestroyed

    Declaration
    public event SyncInstance.ObjectEventHandler onObjectDestroyed
    Event Type
    Type Description
    SyncInstance.ObjectEventHandler

    onPrefabChanged

    Declaration
    public event SyncInstance.InstanceEventHandler onPrefabChanged
    Event Type
    Type Description
    SyncInstance.InstanceEventHandler

    onPrefabLoaded

    Declaration
    public event SyncInstance.InstanceEventHandler onPrefabLoaded
    Event Type
    Type Description
    SyncInstance.InstanceEventHandler
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023