mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Added Editor and EntityHierarchyWindow
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user