From e2c172709daf0928401d012f4060acf79f1de1c8 Mon Sep 17 00:00:00 2001 From: ks <1227114700@qq.com> Date: Mon, 25 Mar 2019 13:23:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=B9=E8=B1=A1=E6=B1=A0?= =?UTF-8?q?=E5=8F=AF=E8=A7=86=E5=8C=96GameObject?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Unity/Assets/Model/Base/Object/ObjectPool.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Unity/Assets/Model/Base/Object/ObjectPool.cs b/Unity/Assets/Model/Base/Object/ObjectPool.cs index 1488420f..f259a1af 100644 --- a/Unity/Assets/Model/Base/Object/ObjectPool.cs +++ b/Unity/Assets/Model/Base/Object/ObjectPool.cs @@ -96,6 +96,9 @@ namespace ETModel { queue = new ComponentQueue(type.Name); queue.Parent = this; +#if !SERVER + queue.GameObject.name = type.Name; +#endif this.dictionary.Add(type, queue); } queue.Enqueue(obj); -- GitLab