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:
originalnicodr committed 2025-02-23 22:56:09 -03:00
1 parent 2719c69753
commit 9429b84cfa
1 file changed
+3
+3
View File
@@ -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.