static int StopCoroutine(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); MonoSingleton obj = (MonoSingleton)ToLua.CheckObject <MonoSingleton>(L, 1); UnityEngine.Coroutine arg0 = (UnityEngine.Coroutine)ToLua.CheckObject(L, 2, typeof(UnityEngine.Coroutine)); obj.StopCoroutine(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }