Beispiel #1
0
 public void UF_OnSyncUpdate()
 {
     if (m_IsInited)
     {
         if (m_Luastate.LuaFixedUpdate(GTime.RunDeltaTime) != 0)
         {
             string error = m_Luastate.LuaToString(-1);
             m_Luastate.LuaPop(2);
             throw new LuaException(error, LuaException.GetLastError());
         }
         m_Luastate.LuaPop(1);
     }
 }