예제 #1
0
            //public DropDownList(Enum Items)
            //    : this()
            //{
            //    this.Items = EnumExtensions.ToEnumDescriptions(Items);
            //}
            public DropDownList(MonoBehaviourWindow Window)
            {
                this.Window = Window;
                //set internal variable so we dont trigger the event before the object exists
                _ListVisible  = false;
                SelectedIndex = 0;

                SkinsLibrary.OnSkinChanged += SkinsLibrary_OnSkinChanged;
            }
예제 #2
0
 public DropDownList(IEnumerable <String> Items, MonoBehaviourWindow Window)
     : this(Window)
 {
     this.Items = Items.ToList <String>();
 }
예제 #3
0
 //Constructors
 public DropDownList(IEnumerable <String> Items, Int32 Selected, MonoBehaviourWindow Window)
     : this(Items, Window)
 {
     SelectedIndex = Selected;
 }