GUIEnabledWrapper Class
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.
C++
public ref class GUIEnabledWrapper : IDisposable
public class GUIEnabledWrapper : IDisposable
type GUIEnabledWrapper = class
interface IDisposable
Public Class GUIEnabledWrapper
Implements IDisposable
- Inheritance
-
GUIEnabledWrapper
- Implements
GUIEnabled |
Captures whether the Unity editor GUI state was enabled or not. Then forces enable to true |
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |