Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to export a clickable action in the Inspector #4106

Closed

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Oct 1, 2020

This trick can be useful for bespoke editor tooling and is found in plugins such as Qodot.

@Calinou Calinou force-pushed the gdscript-exports-clickable-actions branch 2 times, most recently from b6c4edd to 709f1c2 Compare October 1, 2020 22:24
This trick can be useful for bespoke editor tooling and is found
in plugins such as Qodot.
@Calinou Calinou force-pushed the gdscript-exports-clickable-actions branch from 709f1c2 to 5d1f8e5 Compare October 1, 2020 22:24
@NathanLovato
Copy link
Contributor

NathanLovato commented Oct 2, 2020

It's a hack so I'm not in favor of including it in the reference manual. You're teaching people to make a checkbox you can never check and that does non-checkbox stuff. It's also not a supported use of the inspector.

While they can have their uses, I'd leave tricks like these for a community wiki.

@NathanLovato
Copy link
Contributor

@akien-mga could you check this PR to see if it should be included in the docs?

@akien-mga
Copy link
Member

akien-mga commented Jan 4, 2021

Yeah I'm also not convinced about adding this in the GDScript exports page. It's an interesting tip/hack but not really something that I think should be part of the Getting Started documentation.

We don't really have a place for tips and tricks in the current documentation. Maybe this would be good in the Q&A (possibly a self-answered question) which could have the relevant tag to be linked in the GDScript exports page once the Q&A integration work is deployed?

Otherwise this is the kind of thing that can be documented together in a page about tool scripts and possible applications of their functionality.

@Calinou
Copy link
Member Author

Calinou commented Jan 19, 2021

Closing in favor of godotengine/godot-proposals#2149.

I posted and answered a question on the Q&A: https://godotengine.org/qa/92903/how-export-clickable-button-the-inspector-for-time-actions

@Calinou Calinou closed this Jan 19, 2021
@Calinou Calinou deleted the gdscript-exports-clickable-actions branch August 3, 2021 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants