History: Added right-click pings object, but does not select object in history
This commit is contained in:
parent
1c6f548770
commit
70e110496e
4 changed files with 17 additions and 4 deletions
|
|
@ -77,6 +77,10 @@ namespace Module.NavigationTool.Editor.History
|
|||
{
|
||||
AssetDatabase.OpenAsset(obj);
|
||||
}
|
||||
else if (EditorHistoryGUIUtility.isRightClick)
|
||||
{
|
||||
EditorGUIUtility.PingObject(obj);
|
||||
}
|
||||
else
|
||||
{
|
||||
EditorHistoryListPostProcess.IgnoreNextSelectionChange();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue