From b0a5d4688f1af73b5ad03ccc2df11c9aac1523a9 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 29 七月 2025 16:56:23 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 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