void ParticleEditor::SelectSystem(size_t systemIndex)
 {
   if(system_index_ == systemIndex)
   {
     return;
   }
   Graphics* gSys = (Graphics*) Engine::GetCore()->GetSystem(ST_Graphics);
   Editor* editor = (Editor*) Engine::GetCore()->GetSystem(ST_Editor);
   ParticleComponent* comp = (ParticleComponent*) editor->GetCurrentSelected()->GetComponent(CT_ParticleComponent);
   
   auto particleManager = gSys->GetParticleManager();
   system_index_= systemIndex;
   system_index_ = clamp(system_index_, (size_t)0, comp->GetSystems().size() - 1);
   refresh_system_ui();
   
 }