1
This commit is contained in:
21
Unity/Scripts/Entity/Editor/Editor.BITKit.Entity.asmdef
Normal file
21
Unity/Scripts/Entity/Editor/Editor.BITKit.Entity.asmdef
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "BITKit.Entity.Editor",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:a209c53514018594f9f482516f2a6781",
|
||||
"GUID:709caf8d7fb6ef24bbba0ab9962a3ad0",
|
||||
"GUID:30817c1a0e6d646d99c048fc403f5979"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [
|
||||
"UNITY_EDITOR",
|
||||
"MIRROR"
|
||||
],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
24
Unity/Scripts/Entity/Editor/EntityInspector.cs
Normal file
24
Unity/Scripts/Entity/Editor/EntityInspector.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
/* using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Sirenix.OdinInspector;
|
||||
using UnityEditor;
|
||||
using UnityEngine.UIElements;
|
||||
using UnityEditor.UIElements;
|
||||
namespace BITKit.Entities
|
||||
{
|
||||
[CanEditMultipleObjects]
|
||||
[CustomEditor(typeof(EntityComponent), true)]
|
||||
public class EntityComponentInspector : Editor
|
||||
{
|
||||
public override VisualElement CreateInspectorGUI()
|
||||
{
|
||||
VisualElement container = new();
|
||||
|
||||
container.Add(new Label("Entity"));
|
||||
|
||||
InspectorElement.FillDefaultInspector(container, serializedObject, this);
|
||||
return container;
|
||||
}
|
||||
}
|
||||
} */
|
Reference in New Issue
Block a user