Ejemplo n.º 1
0
        public static T Node <T>(this T self, GUINode element) where T : ParentGUINode
        {
            element.parent = self;
            GUICanvas canvas = element.root as GUICanvas;

            if (canvas != null)
            {
                canvas.TreeChange();
            }
            return(self);
        }