Adds menu items to navigate back and forward in the Unity Editor, and handy back/forward buttons to the toolbar. Mouse buttons 3 & 4 are mapped to back and forward respectively.
Just clone this repo somewhere inside your Unity project’s
$ cd Assets $ git clone https://github.com/garettbass/UnityExtensions.SelectionHistory
Your code can invoke these methods if you want to programmatically navigate backward or forward through the selection history:
UnityExtensions.SelectionHistory.CanNavigateBackward(); UnityExtensions.SelectionHistory.NavigateBackward(); UnityExtensions.SelectionHistory.CanNavigateForward(); UnityExtensions.SelectionHistory.NavigateForward();