mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 19:29:06 +00:00
Update plugin tutorial to use @tool
Replaces instances of tool with @tool in plugin tutorial.
This commit is contained in:
@@ -28,7 +28,7 @@ Add five extra methods such that the script looks like this:
|
||||
|
||||
::
|
||||
|
||||
tool
|
||||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ Add a script to the button like this:
|
||||
|
||||
::
|
||||
|
||||
tool
|
||||
@tool
|
||||
extends Button
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ Here is the full plugin script:
|
||||
|
||||
::
|
||||
|
||||
tool
|
||||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user