https://github.com/devpoodle/button-export
Godot 4 plugin that allows you to export buttons from a tool script.
https://github.com/devpoodle/button-export
godot godot-addon godot-engine godot-plugin
Last synced: over 1 year ago
JSON representation
Godot 4 plugin that allows you to export buttons from a tool script.
- Host: GitHub
- URL: https://github.com/devpoodle/button-export
- Owner: DevPoodle
- License: mit
- Created: 2023-05-03T14:12:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-03T14:24:09.000Z (about 3 years ago)
- Last Synced: 2025-01-13T14:19:57.840Z (over 1 year ago)
- Topics: godot, godot-addon, godot-engine, godot-plugin
- Language: GDScript
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot 4 Button Export Plugin
This is a plugin for Godot 4 that allows you to export a button that runs a function from a tool script.
To add a button, first make a bool export variable. Then, name the variable the name of the function you want it to call, followed by "_button".
For example, to export a button for a function called "refresh_list", you'd just need to add this line of code to your script:
``` GDScript
@export var refresh_list_button: bool
```