WithCornerIconclass

object→IconButton→WithCornerIcon
Namespace
global
Assembly
Sandbox.Tools
Declaration
public class Editor.IconButton.WithCornerIcon : Editor.IconButton

Constructors1

Showing 1 constructors

public WithCornerIcon(string icon, System.Action onClick = null, Editor.Widget parent = null)PUBLICCONSTRUCTOR

ParameterTypeDescription
iconstring—
onClick = nullAction—
parent = nullWidget—

Methods1

Showing 1 methods

protected virtual void OnPaint()PROTECTEDVIRTUAL

Returns:void—

Properties4

Showing 4 properties

public string Editor.IconButton.WithCornerIcon.CornerIcon { get; set; }PUBLICGETSET

Icon to show in the bottom right corner

Returns:string—

public float Editor.IconButton.WithCornerIcon.CornerIconSize { get; set; }PUBLICGETSET

The size of the icon in the corner

Returns:float—

On this page