Node Referencer - Godot Engine Plugin
A downloadable Plug-in
Download NowName your own price
Check out the code repository.
Godot plugin to easily add node references to scripts and copy the variable name to your clipboard.
onready var _animated_sprite: AnimatedSprite = $AnimatedSprite
Check out the video tutorial.
- Select one or more nodes. There will be a dropdown menu in the scene toolbar if the plugin detects that one of the node's parents has a script. The plugin will scan recursively up the tree.
- Select the parent to which you want to add the reference.
- Select the last option to copy the last created reference's variable name.
- Reload the parent script by closing it and reopening it. For some reason, I can't get it to reload automatically.
- Now you can use that variable.
- Add a reference for a node to one of its parents' script.
- Add references for multiple nodes at once.
- Copy the name of the last made reference.
- Makes sure the reference has the appropriate class. Works with custom
class_name
s andextends
. - Prevents duplicate references.
- Enumerates variable names when there is a conflict in naming.
- Sorts references alphabetically.
Status | Released |
Category | Tool |
Author | Sander Vanhove |
Tags | Godot, plugin |
Download
Download NowName your own price
Click download now to get access to the following files:
node-referencer.zip 5.4 kB
Leave a comment
Log in with itch.io to leave a comment.