#pragma once #include "Panel.h" #include "Base/Base.h" #include "Scene/Entity.h" #include "Scene/Scene.h" namespace Light { class PropertiesPanel; class SceneHierarchyPanel : public Panel { private: Ref m_Context; Ref m_PropertiesPanelContext; Entity m_SelectionContext; public: SceneHierarchyPanel(); SceneHierarchyPanel(Ref context, Ref propertiesPanel = nullptr); void OnUserInterfaceUpdate(); void SetContext(Ref context, Ref propertiesPanel = nullptr); private: void DrawNode(Entity entity, const std::string& label); }; }