|
26 | 26 | LuaScriptInstance::LuaScriptInstance(Object *p_owner, Ref<LuaScript> p_script) : |
27 | 27 | owner{ p_owner }, |
28 | 28 | script{ p_script } { |
29 | | - print_debug("LuaScriptInstance::constructor"); |
| 29 | + print_debug("LuaScriptInstance::constructor( p_owner = %s )", String(p_owner->get_class_name()).ascii().get_data()); |
30 | 30 | } // TODO |
31 | 31 |
|
32 | 32 | LuaScriptInstance::~LuaScriptInstance() { |
@@ -97,8 +97,8 @@ Variant LuaScriptInstance::callp(const StringName &p_method, const Variant **p_a |
97 | 97 | } // TODO |
98 | 98 |
|
99 | 99 | void LuaScriptInstance::notification(int p_notification) { |
100 | | - print_debug("LuaScriptInstance::notification( p_notification = %d:%s ) %s", p_notification, get_notification_name(p_notification).c_str(), |
101 | | - baseClassName.ascii().get_data()); |
| 100 | + print_debug("LuaScriptInstance::notification( p_notification = %d:%s ) %s", |
| 101 | + p_notification, get_notification_name(p_notification).c_str(), baseClassName.ascii().get_data()); |
102 | 102 |
|
103 | 103 | } // TODO |
104 | 104 |
|
@@ -132,11 +132,11 @@ bool LuaScriptInstance::is_placeholder() const { |
132 | 132 | } |
133 | 133 |
|
134 | 134 | void LuaScriptInstance::property_set_fallback(const StringName &p_name, const Variant &p_value, bool *r_valid) { |
135 | | - print_debug("LuaScriptInstance::property_set_fallback"); |
| 135 | + print_debug("LuaScriptInstance::property_set_fallback( p_name = %s )", String(p_name).ascii().get_data()); |
136 | 136 | } |
137 | 137 |
|
138 | 138 | Variant LuaScriptInstance::property_get_fallback(const StringName &p_name, bool *r_valid) { |
139 | | - print_debug("LuaScriptInstance::property_get_fallback"); |
| 139 | + print_debug("LuaScriptInstance::property_get_fallback( p_name = %s )", String(p_name).ascii().get_data()); |
140 | 140 |
|
141 | 141 | return Variant{}; |
142 | 142 | } |
|
0 commit comments