static int Play(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FirClient.Component.CLuaAnimator obj = (FirClient.Component.CLuaAnimator)ToLua.CheckObject <FirClient.Component.CLuaAnimator>(L, 1); string arg0 = ToLua.CheckString(L, 2); obj.Play(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }