Added Camera component panel

This commit is contained in:
Antoine Pilote
2023-03-01 22:03:12 -05:00
parent f5c5497122
commit 344e2fb0c8
5 changed files with 55 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ EditorSelectionPanel::EditorSelectionPanel()
mLightPanel = LightPanel();
mScriptPanel = ScriptPanel();
mQuakeMapPanel = QuakeMapPanel();
mCameraPanel = CameraPanel();
}
void EditorSelectionPanel::ResolveFile(Ref<Nuake::File> file)
@@ -94,6 +95,7 @@ void EditorSelectionPanel::DrawEntity(Nuake::Entity entity)
mScriptPanel.Draw(entity);
mMeshPanel.Draw(entity);
mQuakeMapPanel.Draw(entity);
mCameraPanel.Draw(entity);
/*
if (Selection.Entity.HasComponent<MeshComponent>())
{