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); } }
private void AddCore(View item) => _owner.AddChild(item);
private void AddCore(UIElement item) => _owner.AddChild(item);
protected override void AddCore(View item) => _view.AddChild(item);