Class Dockable
Add a Dockable component to any object that has a Dockable and an Object
Namespace: Microsoft.MixedReality.Toolkit.Experimental.UI
Assembly: cs.temp.dll.dll
Syntax
public class Dockable : MonoBehaviour
Properties
CanDock
True if this object can currently be docked, false otherwise.
Declaration
public bool CanDock { get; }
Property Value
Type | Description |
---|---|
Boolean |
CanUndock
True if this object can currently be undocked, false otherwise.
Declaration
public bool CanUndock { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Dock(DockPosition)
Docks this object in a given Dock
Declaration
public void Dock(DockPosition position)
Parameters
Type | Name | Description |
---|---|---|
Dock |
position | The Dock |
Undock()
Undocks this Dockable from the current Dock
Declaration
public void Undock()
Update()
Updates the transform and state of this object every frame, depending on manipulations and docking state.
Declaration
public void Update()