瀏覽代碼

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

tanghai 8 年之前
父節點
當前提交
3afad6cd84
共有 1 個文件被更改,包括 0 次插入2 次删除
  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
 			try
 			{
 			{
-				ObjectEvents.Instance.Add(this);
-
 				this.componentDict.Clear();
 				this.componentDict.Clear();
 
 
 				if (this.components != null)
 				if (this.components != null)