Cycle backward or forward through your recently selected objects in the Unity Editor.
The Editor records your last 50 selections as you work. If you accidentally change your selection, you can navigate backward and forward through your selection history to reselect the item you want.
The Editor records any selection that displays an object in the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary window. For example, when you select a GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary in the Hierarchy window or an asset in the Project window. You can also cycle through your selections as you navigate through the folder tree in the Project window.
Some packages, such as Shader Graph and VFX Graph, also register additional selections in the history.
You can navigate the selection history in the following ways:
If you create an Editor window or tool with custom selections, you can use Selection.RegisterCustomHandler and Selection.SetCustomSelection to record those selections in the selection history.
To return to a previous selection, press Ctrl+Shift+[ (macOS: Cmd+Shift+[), or select Previous Selection in the toolbar.
If you have changed your selection to a previous selection, press Ctrl+Shift+] (macOS: Cmd+Shift+]), or select Next Selection in the toolbar to move forward to a more recent selection.
The Editor disables the toolbar buttons when there are no selections in that direction of the history.