static int IsActive(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); DG.Tweening.Tween obj = (DG.Tweening.Tween)LuaScriptMgr.GetNetObjectSelf(L, 1, "DG.Tweening.Tween"); bool o = obj.IsActive(); LuaScriptMgr.Push(L, o); return(1); }
static int IsActive(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject <DG.Tweening.Tween>(L, 1); bool o = obj.IsActive(); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public bool IsValid() { return(_tween != null && _tween.IsActive()); }