Struct GUIEnableScope
Scope that set enable of GUI elements inside
Implements
Examples
using AngeliA;
namespace AngeliaGame;
public class Example {
[OnGameUpdate]
internal static void OnGameUpdate () {
using (new GUIEnableScope(false)) {
// GUI elements inside will be disabled
}
}
}
Constructors
GUIEnableScope(bool)
Scope that set enable of GUI elements inside
Declaration
public GUIEnableScope(bool enable)
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()