Script Component (#521)

This commit is contained in:
Turánszki János
2022-08-22 13:53:59 +02:00
committed by GitHub
parent 12e410d893
commit bd41a54b3b
30 changed files with 629 additions and 28 deletions
+22
View File
@@ -0,0 +1,22 @@
#pragma once
#include "WickedEngine.h"
class EditorComponent;
class ScriptWindow : public wi::gui::Window
{
public:
void Create(EditorComponent* editor);
EditorComponent* editor = nullptr;
wi::ecs::Entity entity = wi::ecs::INVALID_ENTITY;
void SetEntity(wi::ecs::Entity entity);
wi::gui::Button fileButton;
wi::gui::CheckBox playonceCheckBox;
wi::gui::Button playstopButton;
void Update(const wi::Canvas& canvas, float dt) override;
void ResizeLayout() override;
};