From 52296294229bbeb6528687bd3f79de48e21e6d32 Mon Sep 17 00:00:00 2001 From: ALEXTANG <574809918@qq.com> Date: Thu, 16 Jun 2022 19:35:51 +0800 Subject: [PATCH] Update UnitySingleton.cs --- Assets/TEngine/Runtime/Core/UnitySingleton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/TEngine/Runtime/Core/UnitySingleton.cs b/Assets/TEngine/Runtime/Core/UnitySingleton.cs index ca5af967..6e023991 100644 --- a/Assets/TEngine/Runtime/Core/UnitySingleton.cs +++ b/Assets/TEngine/Runtime/Core/UnitySingleton.cs @@ -85,12 +85,12 @@ namespace TEngine } #if UNITY_EDITOR TLogger.LogInfo($"UnitySingleton Instance:{typeof(T).Name}"); +#endif GameObject tEngine = SingletonMgr.Root; if (tEngine != null) { this.gameObject.transform.SetParent(tEngine.transform); } -#endif } protected virtual void OnDestroy()