Struct GUIContentColorScope
Scope that change the content color of GUI element inside
Implements
Examples
using AngeliA;
namespace AngeliaGame;
public class Example {
[OnGameUpdate]
internal static void OnGameUpdate () {
using (new GUIContentColorScope(Color32.GREEN)) {
// GUI elements inside will have their content color changed
}
}
}
Constructors
GUIContentColorScope(Color32)
Scope that change the content color of GUI element inside
Declaration
public GUIContentColorScope(Color32 color)
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()