public static T AllocEvent <T>() where T : RoomEvent
        {
            var evt = ObjectAllocatorHolder <T> .Allocate();

            evt._allocator = ObjectAllocatorHolder <T> .GetAllocator();

            return(evt);
        }
            public static AssetLoadRequest <T> Alloc()
            {
                var req = ObjectAllocatorHolder <AssetLoadRequest <T> > .Allocate();

                if (req.Allocator == null)
                {
                    req.Allocator = ObjectAllocatorHolder <AssetLoadRequest <T> > .GetAllocator();
                }
                return(req);
            }