private void Start() { _req = AbRequest.Create(finish_callback, error_callback); var path = "file:///" + Application.dataPath + "/example/bundle_ios/item"; _paths.Add(path); _req.Request(path); path = "file:///" + Application.dataPath + "/example/bundle_ios/terrain"; _paths.Add(path); _req.Request(path); path = "file:///" + Application.dataPath + "/example/bundle_ios/button"; _paths.Add(path); _req.Request(path); }
// Use this for initialization void Start() { this.req = AbRequest.Create(finish_callback, error_callback); string path = "file:///" + Application.dataPath + "/example/bundle/item.unity3d"; this.paths.Add(path); req.Request(path); path = "file:///" + Application.dataPath + "/example/bundle/Terrain.unity3d"; this.paths.Add(path); req.Request(path); path = "file:///" + Application.dataPath + "/example/bundle/Button.unity3d"; this.paths.Add(path); req.Request(path); }