Inheritance: ISerializationCallbackReceiver
	static public int constructor(IntPtr l) {
		try {
			UnityEngine.UI.FontData o;
			o=new UnityEngine.UI.FontData();
			pushValue(l,true);
			pushValue(l,o);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
 static public int get_verticalOverflow(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData self = (UnityEngine.UI.FontData)checkSelf(l);
         pushValue(l, true);
         pushEnum(l, (int)self.verticalOverflow);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int get_richText(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData self = (UnityEngine.UI.FontData)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.richText);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 4
0
 static public int set_horizontalOverflow(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData        self = (UnityEngine.UI.FontData)checkSelf(l);
         UnityEngine.HorizontalWrapMode v;
         checkEnum(l, 2, out v);
         self.horizontalOverflow = v;
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 5
0
 static public int set_alignByGeometry(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData self = (UnityEngine.UI.FontData)checkSelf(l);
         bool v;
         checkType(l, 2, out v);
         self.alignByGeometry = v;
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 6
0
 static public int set_fontSize(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData self = (UnityEngine.UI.FontData)checkSelf(l);
         int v;
         checkType(l, 2, out v);
         self.fontSize = v;
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
	static public int set_verticalOverflow(IntPtr l) {
		try {
			UnityEngine.UI.FontData self=(UnityEngine.UI.FontData)checkSelf(l);
			UnityEngine.VerticalWrapMode v;
			checkEnum(l,2,out v);
			self.verticalOverflow=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	static public int set_fontStyle(IntPtr l) {
		try {
			UnityEngine.UI.FontData self=(UnityEngine.UI.FontData)checkSelf(l);
			UnityEngine.FontStyle v;
			checkEnum(l,2,out v);
			self.fontStyle=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	static public int set_alignment(IntPtr l) {
		try {
			UnityEngine.UI.FontData self=(UnityEngine.UI.FontData)checkSelf(l);
			UnityEngine.TextAnchor v;
			checkEnum(l,2,out v);
			self.alignment=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	static public int set_richText(IntPtr l) {
		try {
			UnityEngine.UI.FontData self=(UnityEngine.UI.FontData)checkSelf(l);
			bool v;
			checkType(l,2,out v);
			self.richText=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
 public static int constructor(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData o;
         o=new UnityEngine.UI.FontData();
         pushValue(l,o);
         return 1;
     }
     catch(Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return 0;
     }
 }
Esempio n. 12
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData o;
         o = new UnityEngine.UI.FontData();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
	static public int set_lineSpacing(IntPtr l) {
		try {
			UnityEngine.UI.FontData self=(UnityEngine.UI.FontData)checkSelf(l);
			float v;
			checkType(l,2,out v);
			self.lineSpacing=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
Esempio n. 14
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData o;
         o = new UnityEngine.UI.FontData();
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Esempio n. 15
0
 static public int set_font(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData self = (UnityEngine.UI.FontData)checkSelf(l);
         UnityEngine.Font        v;
         checkType(l, 2, out v);
         self.font = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 16
0
 static public int set_font(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData self = (UnityEngine.UI.FontData)checkSelf(l);
         UnityEngine.Font        v;
         checkType(l, 2, out v);
         self.font = v;
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Esempio n. 17
0
 static public int set_verticalOverflow(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData      self = (UnityEngine.UI.FontData)checkSelf(l);
         UnityEngine.VerticalWrapMode v;
         checkEnum(l, 2, out v);
         self.verticalOverflow = v;
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Esempio n. 18
0
 static public int set_alignment(IntPtr l)
 {
     try {
         UnityEngine.UI.FontData self = (UnityEngine.UI.FontData)checkSelf(l);
         UnityEngine.TextAnchor  v;
         checkEnum(l, 2, out v);
         self.alignment = v;
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Esempio n. 19
0
 protected RichText()
 {
     fontData  = typeof(Text).GetField("m_FontData", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(this) as FontData;
     tempVerts = typeof(Text).GetField("m_TempVerts", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(this) as UIVertex[];
 }
 static public int get_minSize(IntPtr l)
 {
     UnityEngine.UI.FontData o = (UnityEngine.UI.FontData)checkSelf(l);
     pushValue(l, o.minSize);
     return(1);
 }
 static public int get_bestFit(IntPtr l)
 {
     UnityEngine.UI.FontData o = (UnityEngine.UI.FontData)checkSelf(l);
     pushValue(l, o.bestFit);
     return(1);
 }
 static public int get_lineSpacing(IntPtr l)
 {
     UnityEngine.UI.FontData o = (UnityEngine.UI.FontData)checkSelf(l);
     pushValue(l, o.lineSpacing);
     return(1);
 }
 static public int get_verticalOverflow(IntPtr l)
 {
     UnityEngine.UI.FontData o = (UnityEngine.UI.FontData)checkSelf(l);
     pushValue(l, o.verticalOverflow);
     return(1);
 }
Esempio n. 24
0
 static public int get_fontStyle(IntPtr l)
 {
     UnityEngine.UI.FontData o = (UnityEngine.UI.FontData)checkSelf(l);
     pushEnum(l, (int)o.fontStyle);
     return(1);
 }
 static public int get_alignment(IntPtr l)
 {
     UnityEngine.UI.FontData o = (UnityEngine.UI.FontData)checkSelf(l);
     pushValue(l, o.alignment);
     return(1);
 }
Esempio n. 26
0
 static public int get_horizontalOverflow(IntPtr l)
 {
     UnityEngine.UI.FontData o = (UnityEngine.UI.FontData)checkSelf(l);
     pushEnum(l, (int)o.horizontalOverflow);
     return(1);
 }