| 564 | } |
| 565 | |
| 566 | bool FakeCSharpScript::get_property_default_value(const StringName &p_property, Variant &r_value) const { |
| 567 | if (member_default_values.has(p_property)) { |
| 568 | r_value = member_default_values[p_property]; |
| 569 | return true; |
| 570 | } |
| 571 | if (!members.has(p_property)) { |
| 572 | auto parent_script = get_base_script(); |
| 573 | if (parent_script.is_valid()) { |
| 574 | return parent_script->get_property_default_value(p_property, r_value); |
| 575 | } |
| 576 | return false; |
| 577 | } |
| 578 | r_value = Variant(); |
| 579 | return true; |
| 580 | } |
| 581 | |
| 582 | void FakeCSharpScript::update_exports() { |
| 583 | // For now, do nothing |