Răsfoiți Sursa

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

tanghai 8 ani în urmă
părinte
comite
3afad6cd84
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  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)