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 |