MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Reload

Method Reload

Source/Engine/Content/Storage/FlaxStorage.cpp:618–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616#if USE_EDITOR
617
618bool FlaxStorage::Reload()
619{
620 if (!IsLoaded())
621 return false;
622 PROFILE_CPU();
623
624 OnReloading(this);
625
626 // Perform clean reloading
627 Dispose();
628 const bool failed = Load();
629
630 OnReloaded(this, failed);
631
632 return failed;
633}
634
635bool FlaxStorage::ReloadSilent()
636{

Callers 1

CreateMethod · 0.45

Calls 3

DisposeFunction · 0.85
IsLoadedFunction · 0.70
LoadFunction · 0.50

Tested by

no test coverage detected