Class SyncManager
Inheritance
System.Object
SyncManager
Syntax
public sealed class SyncManager : MonoBehaviour, ISyncTask, IProgressTask
Properties
selectedProject
Declaration
public Project selectedProject { get; }
Property Value
syncInstances
Declaration
public IReadOnlyDictionary<string, SyncInstance> syncInstances { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyDictionary<System.String, SyncInstance> |
|
Methods
Cancel()
Declaration
Implements
IProgressTask.Cancel()
Close()
Declaration
IsProjectOpened(String)
Declaration
public bool IsProjectOpened(string serverProjectId)
Parameters
Type |
Name |
Description |
System.String |
serverProjectId |
|
Returns
Type |
Description |
System.Boolean |
|
OnSyncStart()
Declaration
public void OnSyncStart()
Implements
OnSyncStop()
Declaration
Implements
Open(Project)
Declaration
public IEnumerator Open(Project project)
Parameters
Type |
Name |
Description |
Project |
project |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Events
onProjectClosed
Declaration
public event Action onProjectClosed
Event Type
Type |
Description |
System.Action |
|
onProjectOpened
Declaration
public event Action onProjectOpened
Event Type
Type |
Description |
System.Action |
|
onSyncDisabled
Declaration
public event Action onSyncDisabled
Event Type
Type |
Description |
System.Action |
|
Implements
onSyncEnabled
Declaration
public event Action onSyncEnabled
Event Type
Type |
Description |
System.Action |
|
Implements
onSyncUpdateBegin
Declaration
public event Action onSyncUpdateBegin
Event Type
Type |
Description |
System.Action |
|
Implements
onSyncUpdateEnd
Declaration
public event Action onSyncUpdateEnd
Event Type
Type |
Description |
System.Action |
|
Implements
progressChanged
Declaration
public event Action<float, string> progressChanged
Event Type
Type |
Description |
System.Action<System.Single, System.String> |
|
Implements
IProgressTask.progressChanged
taskCompleted
Declaration
public event Action taskCompleted
Event Type
Type |
Description |
System.Action |
|
Implements
IProgressTask.taskCompleted