public void OnDeleteTypeButton(DeleteTypeEvent ev)
 {
     foreach (ClassNameButton btn in MBList.transform.GetComponentsInChildren <ClassNameButton>())
     {
         if (btn.TypeID == ev.TypeID)
         {
             Destroy(btn.gameObject);
         }
     }
 }
 public void OnDeleteTypeButton(DeleteTypeEvent ev)
 {
     if (!Remote)
     {
         _engine.RemoveTypes(ev.TypeID);
     }
     else
     {
         _engineRemote.RemoveTypes(ev.TypeID);
     }
 }