Struct GUISkinScope
Scope that change the skin of the GUI elements inside
Implements
Examples
using AngeliA;
namespace AngeliaGame;
public class Example {
[OnGameUpdate]
internal static void OnGameUpdate () {
using (new GUISkinScope(/*Your GUI Skin*/)) {
// GUI elements inside will use the given GUI skin
}
}
}
Constructors
GUISkinScope()
Scope that change the skin of the GUI elements inside
Declaration
public GUISkinScope()
GUISkinScope(GUISkin)
Scope that change the skin of the GUI elements inside
Declaration
public GUISkinScope(GUISkin skin)
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()