mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-17 08:37:49 +08:00
Some progress on inspector rewrites, most of the framework figured out now.
This commit is contained in:
@ -10,16 +10,17 @@ namespace UnityExplorer.UI.Inspectors
|
||||
{
|
||||
public abstract class InspectorBase : IPooledObject
|
||||
{
|
||||
public InspectorTab Tab { get; internal set; }
|
||||
public bool IsActive { get; internal set; }
|
||||
|
||||
public InspectorTab Tab { get; internal set; }
|
||||
|
||||
public abstract GameObject UIRoot { get; }
|
||||
|
||||
private static readonly Color _enabledTabColor = new Color(0.2f, 0.4f, 0.2f);
|
||||
private static readonly Color _disabledTabColor = new Color(0.25f, 0.25f, 0.25f);
|
||||
|
||||
public float DefaultHeight => -1f;
|
||||
public abstract GameObject CreateContent(GameObject content);
|
||||
public abstract GameObject CreateContent(GameObject parent);
|
||||
|
||||
public abstract void Update();
|
||||
|
||||
|
Reference in New Issue
Block a user