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