From e71941cccf151768e8d3622362adf9a4a91d5750 Mon Sep 17 00:00:00 2001 From: Glence Date: Wed, 28 Sep 2022 18:12:01 +0800 Subject: [PATCH] removing not needed buttons --- .../EditorWindow/Inspector/SHEditorInspector.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/SHADE_Engine/src/Editor/EditorWindow/Inspector/SHEditorInspector.cpp b/SHADE_Engine/src/Editor/EditorWindow/Inspector/SHEditorInspector.cpp index 247b4b8c..5f43c30d 100644 --- a/SHADE_Engine/src/Editor/EditorWindow/Inspector/SHEditorInspector.cpp +++ b/SHADE_Engine/src/Editor/EditorWindow/Inspector/SHEditorInspector.cpp @@ -42,11 +42,6 @@ namespace SHADE SHEditorWindow::Update(); if (Begin()) { - if(ImGui::Button("AUDIO")) - { - if(auto audioSystem = SHSystemManager::GetSystem()) - 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()) - { - audioSystem->PlayEventOnce("event:/SFX/Dawn/Dawn_Attack"); - } - } - if (auto transformComponent = SHComponentManager::GetComponent_s(eid)) { DrawComponent(transformComponent);