AngeliA
Search Results for

    Show / Hide Table of Contents

    Class MapEditorToolbarButton

    Base class for detect toolbar button logic of the map editor

    Properties

    Active

    True if the button display inside the toolbar

    Declaration
    public virtual Func<bool> Active { get; }

    Enable

    True if the button apears to be enabled

    Declaration
    public virtual Func<bool> Enable { get; }

    Func

    This function is called when user click the button

    Declaration
    public abstract Action Func { get; }

    Icon

    Icon artwork sprite for the button

    Declaration
    public abstract SpriteCode Icon { get; }

    Order

    Order of the button inside the toolbar

    Declaration
    public virtual int Order { get; }

    Tip

    Tooltip which shows when user hover mouse on it

    Declaration
    public abstract LanguageCode Tip { get; }

    Methods

    ButtonGUI(IRect)

    Draw UI for the button

    Declaration
    public virtual void ButtonGUI(IRect rect)
    Parameters
    Type Name Description
    IRect rect

    Rect position in global space

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