示例#1
0
 static int QPYX_ConverToTargetRectTransformChildPos_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 3);
         UnityEngine.Camera        QPYX_arg0_YXQP = (UnityEngine.Camera)ToLua.CheckObject(L_YXQP, 1, typeof(UnityEngine.Camera));
         UnityEngine.RectTransform QPYX_arg1_YXQP = (UnityEngine.RectTransform)ToLua.CheckObject(L_YXQP, 2, typeof(UnityEngine.RectTransform));
         UnityEngine.RectTransform QPYX_arg2_YXQP = (UnityEngine.RectTransform)ToLua.CheckObject(L_YXQP, 3, typeof(UnityEngine.RectTransform));
         UnityEngine.Vector2       QPYX_o_YXQP    = CustomerUtil.ConverToTargetRectTransformChildPos(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP);
         ToLua.Push(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
示例#2
0
 static int ConverToTargetRectTransformChildPos(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         UnityEngine.Camera        arg0 = (UnityEngine.Camera)ToLua.CheckObject(L, 1, typeof(UnityEngine.Camera));
         UnityEngine.RectTransform arg1 = (UnityEngine.RectTransform)ToLua.CheckObject(L, 2, typeof(UnityEngine.RectTransform));
         UnityEngine.RectTransform arg2 = (UnityEngine.RectTransform)ToLua.CheckObject(L, 3, typeof(UnityEngine.RectTransform));
         UnityEngine.Vector2       o    = CustomerUtil.ConverToTargetRectTransformChildPos(arg0, arg1, arg2);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }