GUIEnabledWrapper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class GUIEnabledWrapper : IDisposable
public class GUIEnabledWrapper : IDisposable
type GUIEnabledWrapper = class
interface IDisposable
Public Class GUIEnabledWrapper
Implements IDisposable
- Inheritance
-
GUIEnabledWrapper
- Implements
Constructors
GUIEnabledWrapper() |
Captures whether the Unity editor GUI state was enabled or not. Then forces enable to true |
Methods
Dispose() | |
Dispose(Boolean) |