Explorar o código

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

tanghai %!s(int64=8) %!d(string=hai) anos
pai
achega
3afad6cd84
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      Unity/Assets/Scripts/Base/Object/Entity.cs

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

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