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

Refactor property hint names retrieval in VisualScript #43211

Closed
wants to merge 1 commit into from
Closed

Refactor property hint names retrieval in VisualScript #43211

wants to merge 1 commit into from

Conversation

Xrayez
Copy link
Contributor

@Xrayez Xrayez commented Oct 30, 2020

Edit: closes #52434.

godot_vs_var_hint

Adds Object::get_property_hint_name() to be used by VisualScriptEditorVariableEdit for populating property hints automatically, without having to hardcode values.

Also naturally updates newly added property hints to visual script.

This mechanism is similar to existing Variant::get_type_name().

This would also be useful for goostengine/goost#30.

This adds `Object::get_property_hint_name()` to be used by
`VisualScriptEditorVariableEdit` for populating property hints
automatically, without having to hardcode values.

This also naturally updates newly added hints to visual script.

This mechanism is similar to existing `Variant::get_type_name()`.
@akien-mga
Copy link
Member

Closing as this contributor can no longer update this further.

@akien-mga akien-mga closed this Aug 5, 2022
@YuriSizov YuriSizov removed this from the 4.0 milestone Sep 8, 2022
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.

PropertyHints listed in VisualScriptEditorVariableEdit are out of sync
4 participants