Unity-xlua C#側將byte[]傳遞lua側table

一、 Xlua C#側與lua側的類型映射關係 基本類型中C#側 byte[] 對應lua側的string; 複雜類型中LuaTable 對應lua側的table; 二、 實現 思路:在c#側將byte[]轉LuaTable即可 C#側: [LuaCallCSharp] public LuaTable TestBytes2() { byte[] testbyte =
相關文章
相關標籤/搜索