Эх сурвалжийг харах

Endinit中不能把对象加到ObjectEvents里面,否则dbserver中会存在大量update调用

tanghai 8 жил өмнө
parent
commit
3afad6cd84

+ 0 - 2
Unity/Assets/Scripts/Base/Object/Entity.cs

@@ -174,8 +174,6 @@ namespace Model
 		{
 		{
 			try
 			try
 			{
 			{
-				ObjectEvents.Instance.Add(this);
-
 				this.componentDict.Clear();
 				this.componentDict.Clear();
 
 
 				if (this.components != null)
 				if (this.components != null)