Add @export_tool_button annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com> Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
This commit is contained in:
parent
76a135926a
commit
85dfd89653
14 changed files with 257 additions and 10 deletions
|
|
@ -0,0 +1 @@
|
|||
@export_tool_button("Click me!") var action
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_ANALYZER_ERROR
|
||||
Tool buttons can only be used in tool scripts (add "@tool" to the top of the script).
|
||||
Loading…
Add table
Add a link
Reference in a new issue