Example #1
0
        public static void Release(ProtocolObject obj)
        {
            int classID = obj.GetClassID();

            poolList[classID].unusedObjs.Add(obj);
        }
        public static void Release(ProtocolObject obj)
        {
            int classID = obj.GetClassID();

            ProtocolObjectPool.poolList.get_Item(classID).unusedObjs.Add(obj);
        }