コード例 #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
ファイル: HtmlLink.cs プロジェクト: hi-noikiy/CasinosClient
 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
ファイル: HtmlSelect.cs プロジェクト: ChampionGuan/TLcg
 public void Remove()
 {
     if (comboBox != null && comboBox.displayObject.parent != null)
     {
         _owner.RemoveChild(comboBox.displayObject);
     }
 }
コード例 #6
0
ファイル: HtmlButton.cs プロジェクト: ChampionGuan/TLcg
 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;
        }