Class SyncManager | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class SyncManager

    Inheritance
    Object
    SyncManager
    Namespace: UnityEngine.Reflect
    Syntax
    public sealed class SyncManager : MonoBehaviour, ISyncTask, IProgressTask, ILogReceiver

    Constructors

    SyncManager()

    Declaration
    public SyncManager()

    Properties

    syncInstances

    Declaration
    public IReadOnlyDictionary<string, SyncInstance> syncInstances { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<String, SyncInstance>

    syncRoot

    Declaration
    public Transform syncRoot { get; }
    Property Value
    Type Description
    Transform

    Methods

    ApplyPrefabChanges()

    Declaration
    public void ApplyPrefabChanges()

    Cancel()

    Declaration
    public void Cancel()
    Implements
    IProgressTask.Cancel()

    Close()

    Declaration
    public void Close()

    IsProjectOpened(Project)

    Declaration
    public bool IsProjectOpened(Project project)
    Parameters
    Type Name Description
    Project project
    Returns
    Type Description
    Boolean

    LogReceived(Reflect.Utils.Logger.Level, String)

    Declaration
    public void LogReceived(Reflect.Utils.Logger.Level level, string msg)
    Parameters
    Type Name Description
    Unity.Reflect.Utils.Logger.Level level
    String msg

    Open(Project)

    Declaration
    public IEnumerator Open(Project project)
    Parameters
    Type Name Description
    Project project
    Returns
    Type Description
    IEnumerator

    StartSync()

    Declaration
    public void StartSync()
    Implements
    ISyncTask.StartSync()

    StopSync()

    Declaration
    public void StopSync()
    Implements
    ISyncTask.StopSync()

    Events

    onInstanceAdded

    Declaration
    public event SyncManager.EventHandler onInstanceAdded
    Event Type
    Type Description
    SyncManager.EventHandler

    onProjectClosed

    Declaration
    public event Action onProjectClosed
    Event Type
    Type Description
    Action

    onProjectOpened

    Declaration
    public event Action onProjectOpened
    Event Type
    Type Description
    Action

    onSyncDisabled

    Declaration
    public event Action onSyncDisabled
    Event Type
    Type Description
    Action
    Implements
    ISyncTask.onSyncDisabled

    onSyncEnabled

    Declaration
    public event Action onSyncEnabled
    Event Type
    Type Description
    Action
    Implements
    ISyncTask.onSyncEnabled

    onSyncUpdateBegin

    Declaration
    public event Action onSyncUpdateBegin
    Event Type
    Type Description
    Action
    Implements
    ISyncTask.onSyncUpdateBegin

    onSyncUpdateEnd

    Declaration
    public event Action<bool> onSyncUpdateEnd
    Event Type
    Type Description
    Action<Boolean>
    Implements
    ISyncTask.onSyncUpdateEnd

    progressChanged

    Declaration
    public event Action<float, string> progressChanged
    Event Type
    Type Description
    Action<Single, String>
    Implements
    IProgressTask.progressChanged

    taskCompleted

    Declaration
    public event Action taskCompleted
    Event Type
    Type Description
    Action
    Implements
    IProgressTask.taskCompleted
    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