docs.unity.cn
    Show / Hide Table of Contents

    Class LiveSyncComponent

    Inheritance
    Object
    LiveSyncComponent
    Namespace: Unity.Reflect.Actors
    Syntax
    [Component("1d53bb5e-801c-42a3-9098-cef05ea1474f", null, null, null, null, Multiplicity.Any, Multiplicity.Any, null, true)]
    public class LiveSyncComponent : IAsyncComponent, IRunnableComponent

    Constructors

    LiveSyncComponent(IPlayerClient)

    Declaration
    public LiveSyncComponent(IPlayerClient client)
    Parameters
    Type Name Description
    IPlayerClient client

    Methods

    Shutdown()

    Declaration
    public void Shutdown()

    Start()

    Declaration
    public void Start()

    Stop()

    Declaration
    public void Stop()

    Tick(TimeSpan)

    Declaration
    public TickResult Tick(TimeSpan endTime)
    Parameters
    Type Name Description
    TimeSpan endTime
    Returns
    Type Description
    TickResult
    Implements
    IRunnableComponent.Tick(TimeSpan)

    WaitAsync(CancellationToken)

    Declaration
    public async Task<WaitResult> WaitAsync(CancellationToken token)
    Parameters
    Type Name Description
    CancellationToken token
    Returns
    Type Description
    Task<WaitResult>
    Implements
    IAsyncComponent.WaitAsync(CancellationToken)

    Events

    RemoteManifestChanged

    Declaration
    public event Action<RemoteManifestChanged> RemoteManifestChanged
    Event Type
    Type Description
    Action<RemoteManifestChanged>

    SyncConnectionStateChanged

    Declaration
    public event Action<SyncConnectionStateChanged> SyncConnectionStateChanged
    Event Type
    Type Description
    Action<SyncConnectionStateChanged>
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 03 February 2022
    Terms of use