mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-10 04:53:15 +08:00
Made lights in the lights manager panel and effects in the postprocessing effects panel prioritize focusing on already opened inspector tabs when trying to inspect the corresponding object.
This commit is contained in:
@@ -100,6 +100,9 @@ namespace UnityExplorer
|
||||
|
||||
public static void InspectWithFilters(object target, string filterInputField, UnityExplorer.Inspectors.MemberFilter memberFilterFlags = UnityExplorer.Inspectors.MemberFilter.All, bool staticReflection = false, CacheObjectBase parent = null)
|
||||
{
|
||||
if (TryFocusActiveInspector(target))
|
||||
return;
|
||||
|
||||
ReflectionInspector inspector = CreateInspector<ReflectionInspector>(target, staticReflection, parent);
|
||||
inspector.filterInputField.Text = filterInputField;
|
||||
//TODO: Update the member flags visually on the inspector.
|
||||
|
||||
Reference in New Issue
Block a user