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

Method Load

Source/Editor/Modules/ProjectCacheModule.cs:274–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272 }
273
274 private void Load()
275 {
276 if (!File.Exists(_cachePath))
277 return;
278 _lastSaveTime = DateTime.UtcNow;
279
280 try
281 {
282 LoadGuarded();
283 }
284 catch (Exception ex)
285 {
286 Editor.LogWarning(ex);
287 Editor.LogError("Failed to load editor cache. " + ex.Message);
288 }
289 }
290
291 private void SaveGuarded()
292 {

Callers 2

LoadLayoutMethod · 0.45
RequestStartPlayGameMethod · 0.45

Calls 3

ExistsMethod · 0.45
LogWarningMethod · 0.45
LogErrorMethod · 0.45

Tested by

no test coverage detected