Example #1
0
 private static void CreateChildElements(FrameworkElement parent, Data.Element parentTemplate, Scene scene, Schema schema)
 {
     foreach (var childTemplate in parentTemplate.children)
     {
         var go      = new GameObject(childTemplate.name);
         var element = CreateElement(go, childTemplate, scene, schema);
         parent.AddChild(element);
     }
 }
Example #2
0
 private void AddCore(View item) => _owner.AddChild(item);
 private void AddCore(UIElement item) => _owner.AddChild(item);
Example #4
0
 protected override void AddCore(View item) => _view.AddChild(item);