static int PlayEnd(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); AnimatorPlayEnd obj = (AnimatorPlayEnd)ToLua.CheckObject <AnimatorPlayEnd>(L, 1); obj.PlayEnd(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
private static int PlayEnd(IntPtr L) { int result; try { ToLua.CheckArgsCount(L, 1); AnimatorPlayEnd animatorPlayEnd = (AnimatorPlayEnd)ToLua.CheckObject(L, 1, typeof(AnimatorPlayEnd)); animatorPlayEnd.PlayEnd(); result = 0; } catch (Exception e) { result = LuaDLL.toluaL_exception(L, e, null); } return(result); }