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

    Class ProjectManager

    Inheritance
    Object
    ProjectManager
    Namespace: UnityEngine.Reflect
    Syntax
    public class ProjectManager : MonoBehaviour, IProgressTask

    Fields

    onAuthenticationFailure

    Declaration
    public UnityEvent onAuthenticationFailure
    Field Value
    Type Description
    UnityEvent

    Properties

    Projects

    Declaration
    public IEnumerable<Project> Projects { get; }
    Property Value
    Type Description
    IEnumerable<Project>

    Methods

    Cancel()

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

    DeleteProjectLocally(Project)

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

    DownloadProjectLocally(String, Boolean)

    Declaration
    public IEnumerator DownloadProjectLocally(string serverProjectId, bool incremental)
    Parameters
    Type Name Description
    String serverProjectId
    Boolean incremental
    Returns
    Type Description
    IEnumerator

    DownloadSourceProjectLocally(Project, String, SyncManifest, SyncManifest, IPlayerClient, Action<Single>)

    Declaration
    public IEnumerator DownloadSourceProjectLocally(Project project, string sessionId, SyncManifest oldManifest, SyncManifest newManifest, IPlayerClient client, Action<float> onProgress)
    Parameters
    Type Name Description
    Project project
    String sessionId
    SyncManifest oldManifest
    SyncManifest newManifest
    IPlayerClient client
    Action<Single> onProgress
    Returns
    Type Description
    IEnumerator

    GetSourceProjectFolder(Project, String)

    Declaration
    public string GetSourceProjectFolder(Project project, string sessionId)
    Parameters
    Type Name Description
    Project project
    String sessionId
    Returns
    Type Description
    String

    IsProjectAvailableOffline(Project)

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

    IsProjectAvailableOnline(Project)

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

    IsProjectVisibleToUser(Project)

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

    LoadProjectManifests(Project)

    Declaration
    public IEnumerable<SourceProject> LoadProjectManifests(Project project)
    Parameters
    Type Name Description
    Project project
    Returns
    Type Description
    IEnumerable<SourceProject>

    RegisterToProject(String, Action<Project>)

    Declaration
    public void RegisterToProject(string serverProjectId, Action<Project> callback)
    Parameters
    Type Name Description
    String serverProjectId
    Action<Project> callback

    SetUnityUser(UnityUser)

    Declaration
    public void SetUnityUser(UnityUser unityUser = null)
    Parameters
    Type Name Description
    UnityUser unityUser

    StartDiscovery()

    Declaration
    public void StartDiscovery()

    StopDiscovery()

    Declaration
    public void StopDiscovery()

    Events

    onProjectAdded

    Declaration
    public event Action<Project> onProjectAdded
    Event Type
    Type Description
    Action<Project>

    onProjectChanged

    Declaration
    public event Action<Project> onProjectChanged
    Event Type
    Type Description
    Action<Project>

    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