Beispiel #1
0
	static public int Awake(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			self.Awake();
			return 0;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #2
0
	static public int get_ItemsToDisplay(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			pushValue(l,self.ItemsToDisplay);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #3
0
	static public int get_AvailableOptions(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			pushValue(l,self.AvailableOptions);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #4
0
	static public int get_disabledTextColor(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			pushValue(l,self.disabledTextColor);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #5
0
	static public int get_ScrollBarWidth(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			pushValue(l,self.ScrollBarWidth);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #6
0
	static public int set_AvailableOptions(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			System.Collections.Generic.List<System.String> v;
			checkType(l,2,out v);
			self.AvailableOptions=v;
			return 0;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #7
0
	static public int set_disabledTextColor(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			UnityEngine.Color v;
			checkType(l,2,out v);
			self.disabledTextColor=v;
			return 0;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #8
0
	static public int ToggleDropdownPanel(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			System.Boolean a1;
			checkType(l,2,out a1);
			self.ToggleDropdownPanel(a1);
			return 0;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #9
0
	static public int OnValueChanged(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			System.String a1;
			checkType(l,2,out a1);
			self.OnValueChanged(a1);
			return 0;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #10
0
	static public int set_ItemsToDisplay(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			int v;
			checkType(l,2,out v);
			self.ItemsToDisplay=v;
			return 0;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #11
0
	static public int set_ScrollBarWidth(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			float v;
			checkType(l,2,out v);
			self.ScrollBarWidth=v;
			return 0;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Beispiel #12
0
	static public int set_OnSelectionChanged(IntPtr l) {
		try {
			UnityEngine.UI.Extensions.ComboBox self=(UnityEngine.UI.Extensions.ComboBox)checkSelf(l);
			System.Action<System.Int32> v;
			int op=LuaDelegation.checkDelegate(l,2,out v);
			if(op==0) self.OnSelectionChanged=v;
			else if(op==1) self.OnSelectionChanged+=v;
			else if(op==2) self.OnSelectionChanged-=v;
			return 0;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}