Loading...
Searching...
No Matches
realvirtual.RecentItemsManager Class Reference
Singleton manager for tracking recently accessed items. More...
Public Member Functions | |
| List< RecentItem > | GetRecentSceneObjects (int maxCount=MAX_DISPLAY_ITEMS) |
| Gets recent scene objects for display. | |
| List< RecentItem > | GetRecentProjectAssets (int maxCount=MAX_DISPLAY_ITEMS) |
| Gets recent project assets for display. | |
| List< RecentItem > | GetRecentScenes (int maxCount=3) |
| Gets recent scenes for display. | |
| void | ClearHistory (RecentItemType type) |
| Clears history for a specific type or all types. | |
| void | SaveHistory () |
| Saves history to EditorPrefs. | |
| void | LoadHistory () |
| Loads history from EditorPrefs. | |
Properties | |
| static RecentItemsManager | Instance [get] |
| Gets the singleton instance. | |
Detailed Description
Singleton manager for tracking recently accessed items.
Member Function Documentation
◆ ClearHistory()
| void realvirtual.RecentItemsManager.ClearHistory | ( | RecentItemType | type | ) |
Clears history for a specific type or all types.
◆ GetRecentProjectAssets()
| List< RecentItem > realvirtual.RecentItemsManager.GetRecentProjectAssets | ( | int | maxCount = MAX_DISPLAY_ITEMS | ) |
Gets recent project assets for display.
◆ GetRecentSceneObjects()
| List< RecentItem > realvirtual.RecentItemsManager.GetRecentSceneObjects | ( | int | maxCount = MAX_DISPLAY_ITEMS | ) |
Gets recent scene objects for display.
◆ GetRecentScenes()
| List< RecentItem > realvirtual.RecentItemsManager.GetRecentScenes | ( | int | maxCount = 3 | ) |
Gets recent scenes for display.
◆ LoadHistory()
| void realvirtual.RecentItemsManager.LoadHistory | ( | ) |
Loads history from EditorPrefs.
◆ SaveHistory()
| void realvirtual.RecentItemsManager.SaveHistory | ( | ) |
Saves history to EditorPrefs.
Property Documentation
◆ Instance
|
staticget |
Gets the singleton instance.