Beispiel #1
0
        internal override void DoAddedToView(GuiView view)
        {
            base.DoAddedToView(view);

            //When added to a view, notify all children of it as well
            foreach (var child in Children)
            {
                child.DoAddedToView(view);
            }
        }
Beispiel #2
0
 internal virtual void DoAddedToView(GuiView view)
 {
     View = view;
     OnAddedToView?.Invoke();
 }