Api Editor ToolButton
class

ToolButton

public class ToolButton : Widget

A button that shows as an icon and tries to keep itself square.

Constructors

ToolButton(String name, String icon, Widget parent)

Properties

Name Type Description
IconChecked String Icon to display when the Checked is .
Icon String Icon for the tool button.
IsToggle Boolean Whether the button is toggle-able or not.
Checked Boolean Whether the tool button is currently checked or not.
Assembly: Sandbox.Tools Namespace: Editor Full Name: Editor.ToolButton