Returns true if the GameObject and the Component are active.
static public int IsActive(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 UnityEngine.EventSystems.UIBehaviour self = (UnityEngine.EventSystems.UIBehaviour)checkSelf(l); var ret = self.IsActive(); pushValue(l, true); pushValue(l, ret); 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 }
static int IsActive(IntPtr L) { L.ChkArgsCount(1); UnityEngine.EventSystems.UIBehaviour obj = (UnityEngine.EventSystems.UIBehaviour)L.ChkUnityObjectSelf(1, "UnityEngine.EventSystems.UIBehaviour"); bool o = obj.IsActive(); L.PushBoolean(o); return(1); }
static int IsActive(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UnityEngine.EventSystems.UIBehaviour obj = (UnityEngine.EventSystems.UIBehaviour)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UnityEngine.EventSystems.UIBehaviour"); bool o = obj.IsActive(); LuaScriptMgr.Push(L, o); return(1); }
static public int IsActive(IntPtr l) { try { UnityEngine.EventSystems.UIBehaviour self = (UnityEngine.EventSystems.UIBehaviour)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.EventSystems.UIBehaviour self = (UnityEngine.EventSystems.UIBehaviour)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.EventSystems.UIBehaviour QPYX_obj_YXQP = (UnityEngine.EventSystems.UIBehaviour)ToLua.CheckObject <UnityEngine.EventSystems.UIBehaviour>(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.EventSystems.UIBehaviour obj = (UnityEngine.EventSystems.UIBehaviour)ToLua.CheckObject <UnityEngine.EventSystems.UIBehaviour>(L, 1); bool o = obj.IsActive(); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int IsActive(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("UnityEngine.EventSystems.UIBehaviour.IsActive"); #endif try { ToLua.CheckArgsCount(L, 1); UnityEngine.EventSystems.UIBehaviour obj = (UnityEngine.EventSystems.UIBehaviour)ToLua.CheckObject <UnityEngine.EventSystems.UIBehaviour>(L, 1); bool o = obj.IsActive(); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }