Interface IProvidesCreateWorkspace | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Interface IProvidesCreateWorkspace

    Provide the ability to create workspaces

    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public interface IProvidesCreateWorkspace : IFunctionalityProvider

    Methods

    CreateWorkspace(Type, Action<IWorkspace>)

    Method for creating workspaces

    Declaration
    void CreateWorkspace(Type type, Action<IWorkspace> createdCallback = null)
    Parameters
    Type Name Description
    Type type

    Type of the workspace (must inherit from Workspace)

    Action<IWorkspace> createdCallback

    Called once the workspace is created

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX