Esempio n. 1
0
 static int StartCoroutine(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         MonoSingleton obj = (MonoSingleton)ToLua.CheckObject <MonoSingleton>(L, 1);
         System.Collections.IEnumerator arg0 = ToLua.CheckIter(L, 2);
         UnityEngine.Coroutine          o    = obj.StartCoroutine(arg0);
         ToLua.PushSealed(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }