public static void ClearBookMarkAsset() { if (PinnedObjectsList.ContainsObject(LastSelectedObject)) { PeekSerializeObject.ChangeLastSelectedObject(null); } PinnedObjectsList.ClearArray(); Save(); }
public static void Reset() { ChangeLastSelectedObject(null); SetCurrentIndex(-1); SelectedObjectsList.ClearArray(); SelectedObjectsWithoutDuplicateList.ClearArray(); PinnedObjectsList.ClearArray(); PinnedObjectsInScenesList.ClearArray(); PinnedObjectsNameInScenesList.ClearArray(); PinnedObjectsScenesLinkList.ClearArray(); Save(); }