示例#1
0
        public static int GetOneShotComponentTypeId <TComponent>()
        {
            if (OneShotComponentTypes <TComponent> .typeId < 0)
            {
                WorldUtilities.CacheOneShotComponentTypeId <TComponent>();
            }

            return(OneShotComponentTypes <TComponent> .typeId);
        }