diff --git a/src/UI/Panels/GameObjectInspector.cs b/src/UI/Panels/GameObjectInspector.cs new file mode 100644 index 0000000..9b9cc6a --- /dev/null +++ b/src/UI/Panels/GameObjectInspector.cs @@ -0,0 +1,128 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using UnityEngine; +using UnityEngine.UI; +using UnityExplorer.Core.Config; +using UnityExplorer.Core.Runtime; +using UnityExplorer.UI.Models; +using UnityExplorer.UI.Utility; +using UnityExplorer.UI.Widgets; + +namespace UnityExplorer.UI.Panels +{ + public class GameObjectInspector : UIPanel + { + public override string Name => "GameObject Inspector"; + + public SimpleListSource ComponentList; + + public override void Update() + { + + } + + public List GetEntries() + { + var comp = Camera.main; + return new List + { + comp, comp, comp, comp, comp + }; + } + + public SimpleCell CreateCell(RectTransform rect) + { + var button = rect.GetComponentInChildren