Przeglądaj źródła

Merge pull request #24 from Viagi/master

UIComponent.Remove的时候需要调用UIFactory.Remove
tanghai 8 lat temu
rodzic
commit
8937c96b21
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      Unity/Hotfix/Component/UIComponent.cs

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

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