/// <summary> /// Deletes the cache /// </summary> private void DeleteCache() { if (!useCache) { return; } UnityEditor.AssetDatabase.DeleteAsset(lastSessionPath); UnityEditor.AssetDatabase.Refresh(); NodeEditorSaveManager.DeleteSceneNodeCanvas("lastSession"); }