示例#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>();
 }