Skip to content

Commit e48c98e

Browse files
committed
更新tolua#到1.0.5.214版
1 parent 87023fe commit e48c98e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Assets/LuaFramework/ToLua/Core/TypeChecker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ public static bool CheckTypes(IntPtr L, int begin, Type type0, Type type1, Type
8686
CheckType(L, type5, begin + 5) && CheckType(L, type6, begin + 6) && CheckType(L, type7, begin + 7) && CheckType(L, type8, begin + 8) && CheckType(L, type9, begin + 9);
8787
}
8888

89-
public static bool CheckTypes(IntPtr L, params Type[] types)
89+
public static bool CheckTypes(IntPtr L, int begin, params Type[] types)
9090
{
9191
for (int i = 0; i < types.Length; i++)
9292
{
93-
if (!CheckType(L, types[i], i + 1))
93+
if (!CheckType(L, types[i], i + begin))
9494
{
9595
return false;
9696
}

ReadMe.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ tolua#地址: https://github.com/topameng/tolua
1616
XlsxToLua: https://github.com/zhangqi-ulua/XlsxToLua
1717
UnityHello: https://github.com/woshihuo12/UnityHello
1818

19+
//-------------2016-07-30-------------
20+
(1)更新tolua#到1.0.5.214版
21+
1922
//-------------2016-07-16-------------
2023
(1)更新tolua#到1.0.5.208版
2124
(2)添加对象池管理器,可管理类对象+资源游戏对象

0 commit comments

Comments
 (0)