Exemple #1
0
 public UICamera.Touch Call(int param0)
 {
     func.BeginPCall();
     func.Push(param0);
     func.PCall();
     UICamera.Touch ret = (UICamera.Touch)func.CheckObject(typeof(UICamera.Touch));
     func.EndPCall();
     return(ret);
 }
 static public int get_position(IntPtr l)
 {
     try {
         UICamera.Touch self = (UICamera.Touch)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.position);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int constructor(IntPtr l)
 {
     try {
         UICamera.Touch o;
         o = new UICamera.Touch();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_position(IntPtr l)
 {
     try {
         UICamera.Touch      self = (UICamera.Touch)checkSelf(l);
         UnityEngine.Vector2 v;
         checkType(l, 2, out v);
         self.position = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_phase(IntPtr l)
 {
     try {
         UICamera.Touch         self = (UICamera.Touch)checkSelf(l);
         UnityEngine.TouchPhase v;
         checkEnum(l, 2, out v);
         self.phase = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_fingerId(IntPtr l)
 {
     try {
         UICamera.Touch self = (UICamera.Touch)checkSelf(l);
         System.Int32   v;
         checkType(l, 2, out v);
         self.fingerId = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }