Ver Fonte

修复destroySystems没有清空的bug

tanghai há 7 anos atrás
pai
commit
8304361f0a
2 ficheiros alterados com 2 adições e 0 exclusões
  1. 1 0
      .gitignore
  2. 1 0
      Unity/Assets/Model/Base/Object/EventSystem.cs

+ 1 - 0
.gitignore

@@ -48,3 +48,4 @@ _ReSharper.CSharp/
 Server/.DS_Store
 /Server/.vscode/
 .vs/
+.objs/

+ 1 - 0
Unity/Assets/Model/Base/Object/EventSystem.cs

@@ -72,6 +72,7 @@ namespace ETModel
 			this.startSystems.Clear();
 			this.loadSystems.Clear();
 			this.changeSystems.Clear();
+			this.destroySystems.Clear();
 			this.deserializeSystems.Clear();
 
 			foreach (Type type in types[typeof(ObjectSystemAttribute)])