Pārlūkot izejas kodu

修复destroySystems没有清空的bug

tanghai 7 gadi atpakaļ
vecāks
revīzija
8304361f0a
2 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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)])