-
-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Labels
c: registerRegister classes, functions and other symbols to GDScriptRegister classes, functions and other symbols to GDScriptfeatureAdds functionality to the libraryAdds functionality to the librarygood first issueGood for newcomersGood for newcomers
Description
It exists for #[func] and #[class], so this just seems like an oversight.
It's especially useful in combination with the new PhantomVar (#1261) since you could have a Rusty-typed field exposed to Rust and a Godoty-typed field exposed to Godot with the same name, e.g.
name: String,
#[var(rename = "name", get = get_name, set = set_name)]
_name: PhantomVar<GString>,As a user, I'd expect this to rename (the Godot side of) autogenerated getters and setters as well.
Yarwin
Metadata
Metadata
Assignees
Labels
c: registerRegister classes, functions and other symbols to GDScriptRegister classes, functions and other symbols to GDScriptfeatureAdds functionality to the libraryAdds functionality to the librarygood first issueGood for newcomersGood for newcomers