We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
// -- sample code for loading binary Asset Bundles -------------------- String s = "file:///"+Application.streamingAssetsPath+"/testx.unity3d"; WWW www = new WWW(s); yield return www; if(www.assetBundle.mainAsset != null) { TextAsset cc = (TextAsset)www.assetBundle.mainAsset; var status = Lua.L_LoadBytes(cc.bytes, "test"); if( status != ThreadStatus.LUA_OK ) { throw new Exception( Lua.ToString(-1) ); } status = Lua.PCall( 0, 0, 0); if( status != ThreadStatus.LUA_OK ) { throw new Exception( Lua.ToString(-1) ); } Debug.Log("---- call done ----"); }