Inheritance: UnityEngine.EventSystems.UIBehaviour, IMeshModifier
コード例 #1
0
 static public int ModifyMesh(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(UnityEngine.UI.VertexHelper)))
         {
             UnityEngine.UI.BaseMeshEffect self = (UnityEngine.UI.BaseMeshEffect)checkSelf(l);
             UnityEngine.UI.VertexHelper   a1;
             checkType(l, 2, out a1);
             self.ModifyMesh(a1);
             pushValue(l, true);
             return(1);
         }
         else if (matchType(l, argc, 2, typeof(UnityEngine.Mesh)))
         {
             UnityEngine.UI.BaseMeshEffect self = (UnityEngine.UI.BaseMeshEffect)checkSelf(l);
             UnityEngine.Mesh a1;
             checkType(l, 2, out a1);
             self.ModifyMesh(a1);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #2
0
    static int ModifyMesh(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2 && TypeChecker.CheckTypes <UnityEngine.UI.VertexHelper>(L, 2))
            {
                UnityEngine.UI.BaseMeshEffect obj  = (UnityEngine.UI.BaseMeshEffect)ToLua.CheckObject <UnityEngine.UI.BaseMeshEffect>(L, 1);
                UnityEngine.UI.VertexHelper   arg0 = (UnityEngine.UI.VertexHelper)ToLua.ToObject(L, 2);
                obj.ModifyMesh(arg0);
                return(0);
            }
            else if (count == 2 && TypeChecker.CheckTypes <UnityEngine.Mesh>(L, 2))
            {
                UnityEngine.UI.BaseMeshEffect obj = (UnityEngine.UI.BaseMeshEffect)ToLua.CheckObject <UnityEngine.UI.BaseMeshEffect>(L, 1);
                UnityEngine.Mesh arg0             = (UnityEngine.Mesh)ToLua.ToObject(L, 2);
                obj.ModifyMesh(arg0);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.UI.BaseMeshEffect.ModifyMesh"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
コード例 #3
0
 static int QPYX_ModifyMesh_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 2 && TypeChecker.CheckTypes <UnityEngine.UI.VertexHelper>(L_YXQP, 2))
         {
             UnityEngine.UI.BaseMeshEffect QPYX_obj_YXQP  = (UnityEngine.UI.BaseMeshEffect)ToLua.CheckObject <UnityEngine.UI.BaseMeshEffect>(L_YXQP, 1);
             UnityEngine.UI.VertexHelper   QPYX_arg0_YXQP = (UnityEngine.UI.VertexHelper)ToLua.ToObject(L_YXQP, 2);
             QPYX_obj_YXQP.ModifyMesh(QPYX_arg0_YXQP);
             return(0);
         }
         else if (QPYX_count_YXQP == 2 && TypeChecker.CheckTypes <UnityEngine.Mesh>(L_YXQP, 2))
         {
             UnityEngine.UI.BaseMeshEffect QPYX_obj_YXQP = (UnityEngine.UI.BaseMeshEffect)ToLua.CheckObject <UnityEngine.UI.BaseMeshEffect>(L_YXQP, 1);
             UnityEngine.Mesh QPYX_arg0_YXQP             = (UnityEngine.Mesh)ToLua.ToObject(L_YXQP, 2);
             QPYX_obj_YXQP.ModifyMesh(QPYX_arg0_YXQP);
             return(0);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: UnityEngine.UI.BaseMeshEffect.ModifyMesh"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
コード例 #4
0
 static public int ModifyMesh__Mesh(IntPtr l)
 {
     try {
         UnityEngine.UI.BaseMeshEffect self = (UnityEngine.UI.BaseMeshEffect)checkSelf(l);
         UnityEngine.Mesh a1;
         checkType(l, 2, out a1);
         self.ModifyMesh(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #5
0
 static public int ModifyMesh(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(UnityEngine.UI.VertexHelper)))
         {
             UnityEngine.UI.BaseMeshEffect self = (UnityEngine.UI.BaseMeshEffect)checkSelf(l);
             UnityEngine.UI.VertexHelper   a1;
             checkType(l, 2, out a1);
             self.ModifyMesh(a1);
             pushValue(l, true);
             return(1);
         }
         else if (matchType(l, argc, 2, typeof(UnityEngine.Mesh)))
         {
             UnityEngine.UI.BaseMeshEffect self = (UnityEngine.UI.BaseMeshEffect)checkSelf(l);
             UnityEngine.Mesh a1;
             checkType(l, 2, out a1);
             self.ModifyMesh(a1);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function ModifyMesh to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }