Class GUIEnabledWrapper
Similar to the scope classes in Unity (i.e VerticalScope), This class is a helper class designed to force enable GUI.enabled over some lifetime Should be utilized with using{} code block
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor
Assembly: cs.temp.dll.dll
Syntax
public class GUIEnabledWrapper : IDisposable
Constructors
GUIEnabledWrapper()
Captures whether the Unity editor GUI state was enabled or not. Then forces enable to true
Declaration
public GUIEnabledWrapper()
Methods
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing |