Struct IgnoreInputScope
Scope that make GUI elements ignore keyboard or mouse input from user
Implements
Examples
using AngeliA;
namespace AngeliaGame;
public class Example {
[OnGameUpdate]
internal static void OnGameUpdate () {
using (new IgnoreInputScope()) {
// GUI elements inside will ignore keyboard or mouse input from user
}
}
}
Constructors
IgnoreInputScope()
Scope that make GUI elements ignore keyboard or mouse input from user
Declaration
public IgnoreInputScope()
IgnoreInputScope(bool, bool)
Scope that make GUI elements ignore keyboard or mouse input from user
Declaration
public IgnoreInputScope(bool ignoreKey, bool ignoreMouse)
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()