Tool - Megasploot/Dungeondraft GitHub Wiki
Overview
This is an abstract class that all Dungeondraft tools are based off of. You can call or get any properties or functions from this class on all tools.
Properties
Dictionary<String, Control> Controls
Returns a Dictionary of UI Controls with the control's registered IDs as the keys.
Functions
void Enable()
Enables the tool to perform tasks. This is also called internally when a tool is selected in the toolbar. The tool will not work without being first enabled.
void Disable()
Disables the tool. Must be called when you are done with a tool to clean up.