Beispiel #1
0
 public static void Init(ref ME.ECS.StructComponentsContainer structComponentsContainer)
 {
     TransformComponentsInitializer.Init(ref structComponentsContainer);
     NameComponentsInitializer.Init(ref structComponentsContainer);
     CameraComponentsInitializer.Init(ref structComponentsContainer);
     PhysicsComponentsInitializer.Init(ref structComponentsContainer);
 }
        public static void Init(ref ME.ECS.StructComponentsContainer structComponentsContainer)
        {
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.ViewComponent>(false);
            WorldUtilities.InitComponentTypeId <ME.ECS.Views.IViewComponent>(false);

            TransformComponentsInitializer.Init(ref structComponentsContainer);
            NameComponentsInitializer.Init(ref structComponentsContainer);
            CameraComponentsInitializer.Init(ref structComponentsContainer);
            PhysicsComponentsInitializer.Init(ref structComponentsContainer);
        }
        public static void Init(ref ME.ECS.StructComponentsContainer structComponentsContainer)
        {
            structComponentsContainer.Validate <ME.ECS.Views.ViewComponent>(false);
            structComponentsContainer.Validate <ME.ECS.Collections.IntrusiveListNode>(false);
            structComponentsContainer.Validate <ME.ECS.Collections.IntrusiveHashSetBucket>(false);

            ME.ECS.DataConfigs.DataConfig.Init(ref structComponentsContainer);
            TransformComponentsInitializer.Init(ref structComponentsContainer);
            NameComponentsInitializer.Init(ref structComponentsContainer);
            CameraComponentsInitializer.Init(ref structComponentsContainer);
        }