Esempio n. 1
0
        public static void Recycle(StructRegistryBase system)
        {
            if (system == null)
            {
                return;
            }

            var key = system.GetAllTypeBit();

            PoolRegistries.Recycle_INTERNAL(key, system);
        }
Esempio n. 2
0
        public static void Recycle <T>(T system, System.Type type) where T : class, IComponentBase
        {
            var key = WorldUtilities.GetKey(type);

            PoolRegistries.Recycle_INTERNAL(key, system);
        }
Esempio n. 3
0
        public static void Recycle(object system)
        {
            var key = WorldUtilities.GetKey(system.GetType());

            PoolRegistries.Recycle_INTERNAL(key, system);
        }