Ejemplo n.º 1
0
 static public int get_cursorColor(IntPtr l)
 {
     try {
         UnityEngine.GUISettings self = (UnityEngine.GUISettings)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.cursorColor);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Ejemplo n.º 2
0
 static public int get_tripleClickSelectsLine(IntPtr l)
 {
     try {
         UnityEngine.GUISettings self = (UnityEngine.GUISettings)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.tripleClickSelectsLine);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Ejemplo n.º 3
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.GUISettings o;
         o = new UnityEngine.GUISettings();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Ejemplo n.º 4
0
 static public int set_cursorColor(IntPtr l)
 {
     try {
         UnityEngine.GUISettings self = (UnityEngine.GUISettings)checkSelf(l);
         UnityEngine.Color       v;
         checkType(l, 2, out v);
         self.cursorColor = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Ejemplo n.º 5
0
 static public int set_tripleClickSelectsLine(IntPtr l)
 {
     try {
         UnityEngine.GUISettings self = (UnityEngine.GUISettings)checkSelf(l);
         bool v;
         checkType(l, 2, out v);
         self.tripleClickSelectsLine = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static void GUISettings_cursorFlashSpeed(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.GUISettings _this = (UnityEngine.GUISettings)vc.csObj;
         var result = _this.cursorFlashSpeed;
         JSApi.setSingle((int)JSApi.SetType.Rval, (System.Single)(result));
     }
     else
     {
         System.Single           arg0  = (System.Single)JSApi.getSingle((int)JSApi.GetType.Arg);
         UnityEngine.GUISettings _this = (UnityEngine.GUISettings)vc.csObj;
         _this.cursorFlashSpeed = arg0;
     }
 }
 static void GUISettings_cursorColor(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.GUISettings _this = (UnityEngine.GUISettings)vc.csObj;
         var result = _this.cursorColor;
         JSMgr.datax.setObject((int)JSApi.SetType.Rval, result);
     }
     else
     {
         UnityEngine.Color       arg0  = (UnityEngine.Color)JSMgr.datax.getObject((int)JSApi.GetType.Arg);
         UnityEngine.GUISettings _this = (UnityEngine.GUISettings)vc.csObj;
         _this.cursorColor = arg0;
     }
 }
 static void GUISettings_tripleClickSelectsLine(JSVCall vc)
 {
     if (vc.bGet)
     {
         UnityEngine.GUISettings _this = (UnityEngine.GUISettings)vc.csObj;
         var result = _this.tripleClickSelectsLine;
         JSApi.setBooleanS((int)JSApi.SetType.Rval, (System.Boolean)(result));
     }
     else
     {
         System.Boolean          arg0  = (System.Boolean)JSApi.getBooleanS((int)JSApi.GetType.Arg);
         UnityEngine.GUISettings _this = (UnityEngine.GUISettings)vc.csObj;
         _this.tripleClickSelectsLine = arg0;
     }
 }
	public static void CloneValues(this GUISettings sets, GUISettings other) {
		sets.doubleClickSelectsWord = other.doubleClickSelectsWord;
		sets.tripleClickSelectsLine = other.tripleClickSelectsLine;
		sets.cursorColor = other.cursorColor;
		sets.cursorFlashSpeed = other.cursorFlashSpeed;
		sets.selectionColor = other.selectionColor;
	}
	public static GUISettings Clone(this GUISettings sets) {
		GUISettings clone = new GUISettings();
		clone.doubleClickSelectsWord = sets.doubleClickSelectsWord;
		clone.tripleClickSelectsLine = sets.tripleClickSelectsLine;
		clone.cursorColor = sets.cursorColor;
		clone.cursorFlashSpeed = sets.cursorFlashSpeed;
		clone.selectionColor = sets.selectionColor;
		return clone;
	}