| 616 | #if USE_EDITOR |
| 617 | |
| 618 | bool 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 | |
| 635 | bool FlaxStorage::ReloadSilent() |
| 636 | { |