static public int get_resolution(IntPtr l)
 {
     try {
         UnityEngine.UI.ReferenceResolution self = (UnityEngine.UI.ReferenceResolution)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.resolution);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_matchWidthOrHeight(IntPtr l)
 {
     try {
         UnityEngine.UI.ReferenceResolution self = (UnityEngine.UI.ReferenceResolution)checkSelf(l);
         float v;
         checkType(l, 2, out v);
         self.matchWidthOrHeight = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_resolution(IntPtr l)
 {
     try {
         UnityEngine.UI.ReferenceResolution self = (UnityEngine.UI.ReferenceResolution)checkSelf(l);
         UnityEngine.Vector2 v;
         checkType(l, 2, out v);
         self.resolution = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }