mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Improve to_string() and add it to Resource
This commit is contained in:
parent
9a5d6d1049
commit
e6783dbdd1
13 changed files with 53 additions and 61 deletions
|
|
@ -459,8 +459,8 @@ Variant Tween::interpolate_variant(const Variant &p_initial_val, const Variant &
|
|||
return ret;
|
||||
}
|
||||
|
||||
String Tween::to_string() {
|
||||
String ret = Object::to_string();
|
||||
String Tween::_to_string() {
|
||||
String ret = Object::_to_string();
|
||||
Node *node = get_bound_node();
|
||||
if (node) {
|
||||
ret += vformat(" (bound to %s)", node->get_name());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue