AngeliA
Search Results for

    Show / Hide Table of Contents

    Struct GUIBodyColorScope

    Scope that change the body color of GUI element inside

    Implements
    IDisposable
    Examples
    using AngeliA;
    
    namespace AngeliaGame;
    
    public class Example {
    
    	[OnGameUpdate]
    	internal static void OnGameUpdate () {
    
    		using (new GUIBodyColorScope(Color32.GREEN)) {
    
    			// GUI elements inside will have their body color changed
    
    		}
    
    	}
    
    }

    Constructors

    GUIBodyColorScope()

    Scope that change the body color of GUI element inside

    Declaration
    public GUIBodyColorScope()

    GUIBodyColorScope(Color32)

    Scope that change the body color of GUI element inside

    Declaration
    public GUIBodyColorScope(Color32 color)

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค