static int IsActive(IntPtr L)
    {
        L.ChkArgsCount(1);
        UnityEngine.UI.ScrollRect obj = (UnityEngine.UI.ScrollRect)L.ChkUnityObjectSelf(1, "UnityEngine.UI.ScrollRect");
        bool o = obj.IsActive();

        L.PushBoolean(o);
        return(1);
    }
    static int IsActive(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        UnityEngine.UI.ScrollRect obj = (UnityEngine.UI.ScrollRect)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UnityEngine.UI.ScrollRect");
        bool o = obj.IsActive();

        LuaScriptMgr.Push(L, o);
        return(1);
    }
Exemple #3
0
 static public int IsActive(IntPtr l)
 {
     try {
         UnityEngine.UI.ScrollRect self = (UnityEngine.UI.ScrollRect)checkSelf(l);
         var ret = self.IsActive();
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int IsActive(IntPtr l)
 {
     try{
         UnityEngine.UI.ScrollRect self = (UnityEngine.UI.ScrollRect)checkSelf(l);
         System.Boolean            ret  = self.IsActive();
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
 static int QPYX_IsActive_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 1);
         UnityEngine.UI.ScrollRect QPYX_obj_YXQP = (UnityEngine.UI.ScrollRect)ToLua.CheckObject <UnityEngine.UI.ScrollRect>(L_YXQP, 1);
         bool QPYX_o_YXQP = QPYX_obj_YXQP.IsActive();
         LuaDLL.lua_pushboolean(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int IsActive(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.UI.ScrollRect obj = (UnityEngine.UI.ScrollRect)ToLua.CheckObject <UnityEngine.UI.ScrollRect>(L, 1);
         bool o = obj.IsActive();
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }