示例#1
0
        public static void InitTypeId()
        {
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.ViewComponent>(false);
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.IViewComponent>(false);

            TransformComponentsInitializer.InitTypeId();
            NameComponentsInitializer.InitTypeId();
            CameraComponentsInitializer.InitTypeId();
            PhysicsComponentsInitializer.InitTypeId();
        }
        public static void InitTypeId()
        {
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.ViewComponent>(false);
            WorldUtilities.InitComponentTypeId <ME.ECS.Collections.IntrusiveListNode>(false);
            WorldUtilities.InitComponentTypeId <ME.ECS.Collections.IntrusiveHashSetBucket>(false);

            ME.ECS.DataConfigs.DataConfig.InitTypeId();
            TransformComponentsInitializer.InitTypeId();
            NameComponentsInitializer.InitTypeId();
            CameraComponentsInitializer.InitTypeId();
        }