MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_singletons

Method get_singletons

core/config/engine.cpp:398–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398void Engine::get_singletons(List<Singleton> *p_singletons) {
399 for (const Singleton &E : singletons) {
400#ifdef TOOLS_ENABLED
401 if (!is_editor_hint() && E.editor_only) {
402 continue;
403 }
404#endif
405
406 p_singletons->push_back(E);
407 }
408}
409
410String Engine::get_write_movie_path() const {
411 return write_movie_path;

Callers 5

initMethod · 0.80
reload_all_scriptsMethod · 0.80
get_singleton_listMethod · 0.80
generateMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected