FairyGUI.Utils.HtmlSelect.Remove C# (CSharp) Method

Remove() public method

public Remove ( ) : void
return void
        public void Remove()
        {
            if (comboBox != null && comboBox.displayObject.parent != null)
                _owner.RemoveChild(comboBox.displayObject);
        }

Usage Example

Example #1
0
 static public int Remove(IntPtr l)
 {
     try {
         FairyGUI.Utils.HtmlSelect self = (FairyGUI.Utils.HtmlSelect)checkSelf(l);
         self.Remove();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }