2020-10-28 06:39:26 +11:00
|
|
|
|
using System;
|
2020-11-03 20:59:13 +11:00
|
|
|
|
using UnityExplorer.Helpers;
|
2020-10-28 06:39:26 +11:00
|
|
|
|
|
2020-11-09 21:38:25 +11:00
|
|
|
|
namespace UnityExplorer.Inspectors.Reflection
|
2020-10-28 06:39:26 +11:00
|
|
|
|
{
|
2020-10-28 07:14:00 +11:00
|
|
|
|
public class InstanceInspector : ReflectionInspector
|
2020-10-28 06:39:26 +11:00
|
|
|
|
{
|
2020-11-09 21:38:25 +11:00
|
|
|
|
public override string TabLabel => $" <color=cyan>[R]</color> {base.TabLabel}";
|
2020-10-28 06:39:26 +11:00
|
|
|
|
|
|
|
|
|
public InstanceInspector(object target) : base(target)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Update()
|
|
|
|
|
{
|
|
|
|
|
base.Update();
|
|
|
|
|
|
|
|
|
|
if (m_pendingDestroy || InspectorManager.Instance.m_activeInspector != this)
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// todo
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|