Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComponentBase" /> class.
 /// </summary>
 /// <param name="name">The name attached to this component</param>
 public Scene(string name)
     : base(name, true)
 {
     // By default a scene always have a SceneComponent
     Settings = new SceneComponent();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComponentBase" /> class.
 /// </summary>
 /// <param name="name">The name attached to this component</param>
 public Scene(string name)
     : base(name, true)
 {
     // By default a scene always have a SceneComponent
     Settings = new SceneComponent();
 }