| 289 | } |
| 290 | |
| 291 | Ref<XRInterface> XRServer::get_interface(int p_index) const { |
| 292 | ERR_FAIL_INDEX_V(p_index, interfaces.size(), nullptr); |
| 293 | |
| 294 | return interfaces[p_index]; |
| 295 | } |
| 296 | |
| 297 | Ref<XRInterface> XRServer::find_interface(const String &p_name) const { |
| 298 | for (int i = 0; i < interfaces.size(); i++) { |