Пример #1
0
        public GameObject()
        {
            Transform = new Transform(this);

            componentContainer = new InheritanceServiceContainer(typeof(Component));
            components         = new List <Component>();
        }
Пример #2
0
 public Scene()
 {
     gameObjects        = new List <GameObject>();
     componentContainer = new InheritanceServiceContainer(typeof(SceneComponent));
     components         = new List <SceneComponent>();
 }