Beispiel #1
0
        public static int GetAllComponentTypeId <TComponent>()
        {
            if (AllComponentTypes <TComponent> .typeId < 0)
            {
                WorldUtilities.CacheAllComponentTypeId <TComponent>();
            }

            return(AllComponentTypes <TComponent> .typeId);
        }