| 116 | } |
| 117 | |
| 118 | void DynamicQuery::begin_script(Object *p_world) { |
| 119 | WorldECS *world = Object::cast_to<WorldECS>(p_world); |
| 120 | ERR_FAIL_COND_MSG(world == nullptr, "The given object is not a `WorldECS`."); |
| 121 | initiate_process(world->get_world()); |
| 122 | } |
| 123 | |
| 124 | void DynamicQuery::end_script() { |
| 125 | conclude_process(nullptr); |