Преглед изворни кода

UIComponent.Remove的时候需要调用UIFactory.Remove

Lucky пре 8 година
родитељ
комит
a15412a4dc
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      Unity/Hotfix/Component/UIComponent.cs

+ 1 - 0
Unity/Hotfix/Component/UIComponent.cs

@@ -117,6 +117,7 @@ namespace Hotfix
 			{
 			{
 				return;
 				return;
 			}
 			}
+            UiTypes[type].Remove(type);
             uis.Remove(type);
             uis.Remove(type);
 			ui.Dispose();
 			ui.Dispose();
 		}
 		}