Struct FontScope
Scope that makes labels inside display with given font
Implements
Examples
using AngeliA;
namespace AngeliaGame;
public class Example {
[OnGameUpdate]
internal static void OnGameUpdate () {
int fontID = /*Your font ID here*/;
using (new FontScope(fontID)) {
// Labels inside will be display with the given font
}
}
}
Constructors
FontScope(int)
Scope that makes labels inside display with given font
Declaration
public FontScope(int fontID)
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()