| 2633 | } |
| 2634 | |
| 2635 | bool CSharpScript::get_property_default_value(const StringName &p_property, Variant &r_value) const { |
| 2636 | #ifdef TOOLS_ENABLED |
| 2637 | |
| 2638 | HashMap<StringName, Variant>::ConstIterator E = exported_members_defval_cache.find(p_property); |
| 2639 | if (E) { |
| 2640 | r_value = E->value; |
| 2641 | return true; |
| 2642 | } |
| 2643 | |
| 2644 | if (base_script.is_valid()) { |
| 2645 | return base_script->get_property_default_value(p_property, r_value); |
| 2646 | } |
| 2647 | |
| 2648 | #endif |
| 2649 | return false; |
| 2650 | } |
| 2651 | |
| 2652 | void CSharpScript::update_exports() { |
| 2653 | #ifdef TOOLS_ENABLED |