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

            var key = system.GetAllTypeBit();

            PoolRegistries.Recycle_INTERNAL(key, system);
        }
Exemplo 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);
        }
Exemplo n.º 3
0
        public static void Recycle(object system)
        {
            var key = WorldUtilities.GetKey(system.GetType());

            PoolRegistries.Recycle_INTERNAL(key, system);
        }