예제 #1
0
 public void Remove()
 {
     if (!_hidden && textInput.displayObject.parent != null)
     {
         _owner.RemoveChild(_border);
         _owner.RemoveChild(textInput.displayObject);
     }
 }
예제 #2
0
        public void Remove()
        {
            if (!_hidden && textInput.displayObject.parent != null)
            {
                _owner.RemoveChild(_border);
                _owner.RemoveChild(textInput.displayObject);
            }
            textInput.RemoveEventListeners();
            textInput.text = null;

            _owner   = null;
            _element = null;
        }
예제 #3
0
 public void Remove()
 {
     if (_shape.parent != null)
     {
         _owner.RemoveChild(_shape);
     }
 }
예제 #4
0
 public void Remove()
 {
     if (loader.displayObject.parent != null)
     {
         _owner.RemoveChild(loader.displayObject);
     }
 }
예제 #5
0
 public void Remove()
 {
     if (comboBox != null && comboBox.displayObject.parent != null)
     {
         _owner.RemoveChild(comboBox.displayObject);
     }
 }
예제 #6
0
 public void Remove()
 {
     if (button != null && button.displayObject.parent != null)
     {
         _owner.RemoveChild(button.displayObject);
     }
 }
예제 #7
0
파일: HtmlLink.cs 프로젝트: mengtest/u1
        public void Remove()
        {
            if (shape.parent != null)
            {
                _owner.RemoveChild(shape);
            }
            shape.RemoveEventListeners();

            _owner   = null;
            _element = null;
        }
예제 #8
0
파일: HtmlImage.cs 프로젝트: zz0733/Fishing
        public void Remove()
        {
            if (loader.displayObject.parent != null)
            {
                _owner.RemoveChild(loader.displayObject);
            }
            if (_externalTexture)
            {
                _owner.htmlPageContext.FreeImageTexture(this, loader.texture);
            }
            loader.url = null;

            _owner   = null;
            _element = null;
        }
예제 #9
0
파일: HtmlButton.cs 프로젝트: mengtest/u1
        public void Remove()
        {
            if (button != null)
            {
                if (button.displayObject.parent != null)
                {
                    _owner.RemoveChild(button.displayObject);
                }

                button.RemoveEventListeners();
            }

            _owner   = null;
            _element = null;
        }
예제 #10
0
        public void Remove()
        {
            if (comboBox != null)
            {
                if (comboBox.displayObject.parent != null)
                {
                    _owner.RemoveChild(comboBox.displayObject);
                }

                comboBox.RemoveEventListeners();
            }

            _owner   = null;
            _element = null;
        }