AddChild() 개인적인 메소드

private AddChild ( NiHierarchy item ) : void
item NiHierarchy
리턴 void
예제 #1
0
        private HResult ProcessParentChange(NiHierarchy parent)
        {
            if (_parent != null)
            {
                _parent.RemoveChild(this);
            }

            _parent = parent;

            if (_parent != null)
            {
                _parent.AddChild(this);
            }

            return(HResult.OK);
        }
예제 #2
0
        private HResult ProcessParentChange(NiHierarchy parent)
        {
            if (_parent != null)
                _parent.RemoveChild(this);

            _parent = parent;

            if (_parent != null)
                _parent.AddChild(this);

            return HResult.OK;
        }