Struct GUILabelWidthScope
Scope that set internal label width of GUI elements inside
Implements
Examples
using AngeliA;
namespace AngeliaGame;
public class Example {
[OnGameUpdate]
internal static void OnGameUpdate () {
using (new GUILabelWidthScope(128)) {
// GUI elements inside will have internal label with 128 in width
}
}
}
Constructors
GUILabelWidthScope(int)
Scope that set internal label width of GUI elements inside
Declaration
public GUILabelWidthScope(int width)
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()