From cb653cf75b17b9bdca0b5b9e6b88edf1ca72e90c Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 17 十月 2025 09:54:11 +0800
Subject: [PATCH] 0312 删除旧的日常代码3

---
 Main/Component/UI/Effect/EffectMgr.cs |   28 ++--------------------------
 1 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/Main/Component/UI/Effect/EffectMgr.cs b/Main/Component/UI/Effect/EffectMgr.cs
index c2c16de..ade7dd5 100644
--- a/Main/Component/UI/Effect/EffectMgr.cs
+++ b/Main/Component/UI/Effect/EffectMgr.cs
@@ -1,11 +1,10 @@
 锘縰sing UnityEngine;
 
-public class EffectMgr : SingletonMonobehaviour<EffectMgr>
+public class EffectMgr 
 {
 
-
     //鐜╁鏄惁涓诲姩灞忚斀浜嗙壒鏁�
-    public bool IsNotShowBySetting(int id)
+    public static bool IsNotShowBySetting(int id)
     {
         var config = EffectConfig.Get(id);
         if (config == null)
@@ -23,28 +22,5 @@
         return false;
     }
 
-
-
-    // public void RecyleUIEffect(int id, GameObject _effectObj)
-    // {
-    //     EffectConfig effectCfg = EffectConfig.Get(id);
-
-    //     if (null == effectCfg)
-    //     {
-    //         return;
-    //     }
-
-    //     var _prefab = ResManager.Instance.LoadAsset<GameObject>("UIEffect/" + effectCfg.packageName, effectCfg.fxName);
-    //     if (_prefab == null)
-    //     {
-    //         return;
-    //     }
-
-    //     GameObjectPoolManager.GameObjectPool _pool = GameObjectPoolManager.Instance.RequestPool(_prefab);
-    //     if (_pool != null)
-    //     {
-    //         _pool.Release(_effectObj);
-    //     }
-    // }
 }
 

--
Gitblit v1.8.0