removing not needed buttons
This commit is contained in:
parent
43ad883bdb
commit
e71941cccf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue