You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Changes to how node paths are selected from property, allowing setting a hint.
This commit is contained in:
@@ -194,7 +194,7 @@ void RemoteTransform::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_update_scale", "update_remote_scale"), &RemoteTransform::set_update_scale);
|
||||
ClassDB::bind_method(D_METHOD("get_update_scale"), &RemoteTransform::get_update_scale);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::NODE_PATH, "remote_path"), "set_remote_node", "get_remote_node");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::NODE_PATH, "remote_path", PROPERTY_HINT_NODE_PATH_VALID_TYPES, "Spatial"), "set_remote_node", "get_remote_node");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "use_global_coordinates"), "set_use_global_coordinates", "get_use_global_coordinates");
|
||||
|
||||
ADD_GROUP("Update", "update_");
|
||||
|
||||
Reference in New Issue
Block a user