public GameObject() { Transform = new Transform(this); componentContainer = new InheritanceServiceContainer(typeof(Component)); components = new List <Component>(); }
public Scene() { gameObjects = new List <GameObject>(); componentContainer = new InheritanceServiceContainer(typeof(SceneComponent)); components = new List <SceneComponent>(); }