mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
Fix Tri-Inspector incorrectly rendered built-in types
This commit is contained in:
parent
9a058da91a
commit
46109e5520
@ -5,7 +5,17 @@ using UnityEngine;
|
|||||||
namespace TriInspector
|
namespace TriInspector
|
||||||
{
|
{
|
||||||
[CanEditMultipleObjects]
|
[CanEditMultipleObjects]
|
||||||
[CustomEditor(typeof(Object), editorForChildClasses: true, isFallback = true)]
|
[CustomEditor(typeof(MonoBehaviour), editorForChildClasses: true, isFallback = true)]
|
||||||
|
internal sealed class TriMonoBehaviourEditor : TriEditor
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
[CanEditMultipleObjects]
|
||||||
|
[CustomEditor(typeof(ScriptableObject), editorForChildClasses: true, isFallback = true)]
|
||||||
|
internal sealed class TriScriptableObjectEditor : TriEditor
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public class TriEditor : Editor
|
public class TriEditor : Editor
|
||||||
{
|
{
|
||||||
private TriPropertyTreeForSerializedObject _inspector;
|
private TriPropertyTreeForSerializedObject _inspector;
|
||||||
|
Loading…
Reference in New Issue
Block a user