public void ReturnObject <T>(string path, T obj) where T : UnityEngine.Object { var type = typeof(T); ObjectPoolGroup group = null; if (objectPoolGroupDic.ContainsKey(type)) { group = objectPoolGroupDic[type]; group.ReturnObj(path, obj); } else { Logx.LogWarning("the type is not found : " + type.ToString()); } }