示例#1
0
 static public int HasPropertyBlock(IntPtr l)
 {
     try {
         UnityEngine.Renderer self = (UnityEngine.Renderer)checkSelf(l);
         var ret = self.HasPropertyBlock();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 static int HasPropertyBlock(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.Renderer obj = (UnityEngine.Renderer)ToLua.CheckObject <UnityEngine.Renderer>(L, 1);
         bool o = obj.HasPropertyBlock();
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int HasPropertyBlock(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.Renderer.HasPropertyBlock");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 1);
            UnityEngine.Renderer obj = (UnityEngine.Renderer)ToLua.CheckObject <UnityEngine.Renderer>(L, 1);
            bool o = obj.HasPropertyBlock();
            LuaDLL.lua_pushboolean(L, o);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
        static int _m_HasPropertyBlock(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityEngine.Renderer gen_to_be_invoked = (UnityEngine.Renderer)translator.FastGetCSObj(L, 1);



                {
                    var gen_ret = gen_to_be_invoked.HasPropertyBlock(  );
                    LuaAPI.lua_pushboolean(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }