Files
XCEngine/ui/src/panels/InspectorPanel.h

23 lines
391 B
C
Raw Normal View History

2026-03-12 15:39:40 +08:00
#pragma once
#include "Panel.h"
#include "Core/Event.h"
#include "Core/GameObject.h"
2026-03-12 15:39:40 +08:00
namespace UI {
class InspectorPanel : public Panel {
public:
InspectorPanel();
~InspectorPanel();
2026-03-12 15:39:40 +08:00
void Render() override;
private:
void RenderEntity(Entity* entity);
void RenderComponent(Component* component);
Event<EntityID>::HandlerID m_selectionHandlerId = 0;
2026-03-12 15:39:40 +08:00
};
}