Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 398 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 398 Bytes

Unity-SimpleInspectorButton

A simple class + custom property drawer that allows you to easily call functions with a button from the inspector without needing to make a custom Editor.

Example Usage

[SerializeField]
private SimpleInspectorButton testButton = new SimpleInspectorButton("TestMethod", "Do Test Method");
public void TestMethod()
{
    Debug.Log("Yay it works!!! :D");
}