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

HtmlSelect() public method

public HtmlSelect ( ) : System
return System
        public HtmlSelect()
        {
            if (resource != null)
            {
                comboBox = UIPackage.CreateObjectFromURL(resource).asComboBox;
                _changeHandler = () =>
                {
                    _owner.DispatchEvent(CHANGED_EVENT, null, this);
                };
            }
            else
                Debug.LogWarning("FairyGUI: Set HtmlSelect.resource first");
        }