removing not needed buttons

This commit is contained in:
Glence 2022-09-28 18:12:01 +08:00
parent 43ad883bdb
commit e71941cccf
1 changed files with 0 additions and 13 deletions

View File

@ -42,11 +42,6 @@ namespace SHADE
SHEditorWindow::Update();
if (Begin())
{
if(ImGui::Button("AUDIO"))
{
if(auto audioSystem = SHSystemManager::GetSystem<SHADE::SHAudioSystem>())
audioSystem->PlayEventOnce("event:/Characters/sfx_footsteps_raccoon");
}
if (!SHEditor::selectedEntities.empty())
{
EntityID const& eid = SHEditor::selectedEntities[0];
@ -58,14 +53,6 @@ namespace SHADE
ImGui::InputText("##EntityName", &entity->name);
if (ImGui::Button("AUDIO"))
{
if (auto audioSystem = SHSystemManager::GetSystem<SHADE::SHAudioSystem>())
{
audioSystem->PlayEventOnce("event:/SFX/Dawn/Dawn_Attack");
}
}
if (auto transformComponent = SHComponentManager::GetComponent_s<SHTransformComponent>(eid))
{
DrawComponent(transformComponent);