void Start()
 {
     // If you face 404 not found error,
     // you should build AssetBundles first.
     //
     // Click `Build/BuildAssetBundle` menu on Unity Editor.
     // (or please take a look `Editor/CreateAssetBundle.cs`)
     UniAssetBundle.LoadUniScriptScene(
         "file:///Packs/testaa_scene",
         "file:///Packs/testaa_script");
 }
Exemple #2
0
    public void OnPointerClick(PointerEventData eventData)
    {
        if (app.has_build == false)
        {
            return;
        }

        UniAssetBundle.LoadUniScriptScene(
            app.last_build.scene_url,
            app.last_build.script_url);
    }