mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 01:48:07 +08:00
Adding back rest of the menu, ported most of Reflection Inspector for new UI
This commit is contained in:
1 parent
0cf8309a82
commit
6d4cc66079
44 files changed
+5995
-350
No files matched your search
@@ -5,6 +5,7 @@ using System.Text;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityExplorer.Core.Search;
|
||||
using UnityExplorer.UI.Inspectors;
|
||||
using UnityExplorer.UI.Models;
|
||||
using UnityExplorer.UI.Panels;
|
||||
using UnityExplorer.UI.Utility;
|
||||
@@ -96,7 +97,10 @@ namespace UnityExplorer.UI.Widgets
|
||||
|
||||
private void OnCellClicked(int dataIndex)
|
||||
{
|
||||
ExplorerCore.Log("TODO");
|
||||
if (m_context == SearchContext.StaticClass)
|
||||
InspectorManager.InspectType(currentResults[dataIndex] as Type);
|
||||
else
|
||||
InspectorManager.Inspect(currentResults[dataIndex]);
|
||||
}
|
||||
|
||||
private bool ShouldDisplayCell(object arg1, string arg2) => true;
|
||||
|
||||
Reference in new issue
Block a user