Exemplo n.º 1
0
 static public int IncrementUpdateCount(IntPtr l)
 {
     try {
         UnityEngine.Texture self = (UnityEngine.Texture)checkSelf(l);
         self.IncrementUpdateCount();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 2
0
 static int IncrementUpdateCount(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.Texture obj = (UnityEngine.Texture)ToLua.CheckObject <UnityEngine.Texture>(L, 1);
         obj.IncrementUpdateCount();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemplo n.º 3
0
    static int IncrementUpdateCount(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.Texture.IncrementUpdateCount");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 1);
            UnityEngine.Texture obj = (UnityEngine.Texture)ToLua.CheckObject <UnityEngine.Texture>(L, 1);
            obj.IncrementUpdateCount();
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }