Added Editor and EntityHierarchyWindow

This commit is contained in:
Simon Lübeß
2021-09-15 13:27:03 +02:00
parent c04cd8a956
commit b4bb5c4a39
3 changed files with 444 additions and 0 deletions
+5
View File
@@ -11,6 +11,7 @@ using GlitchyEngine.World;
using System.Collections;
using GlitchyEngine.Content;
using GlitchyEngine.Renderer.Animation;
using GlitchyEngine.Editor;
namespace Sandbox
{
@@ -73,6 +74,8 @@ namespace Sandbox
EcsWorld _world = new EcsWorld() ~ delete _;
Editor _editor = new Editor(_world) ~ delete _;
// OrthographicCameraController _cameraController ~ delete _;
PerspectiveCameraController _cameraController ~ delete _;
@@ -541,6 +544,8 @@ namespace Sandbox
private bool OnImGuiRender(ImGuiRenderEvent e)
{
_editor.Update();
ImGui.Begin("Animation");
/*
if(AnimationPlayer != null)