Exemple #1
0
 public void Awake()
 {
     assetBundleManager = new AssetBundleManager();
     Instance           = this;
     SceneManager       = new my_SceneManager();
     SceneManager.OpenScene("TestScene");
 }
Exemple #2
0
 public void Init()
 {
     SceneManager.OpenScene("TestScene");
     SceneManager.OpenScene("TestScene2");
 }
    public void OpenScene(string abName, string sceneName)
    {
        AssetBundle sab = assetBundleManager.GetAssetBundle(abName);

        SceneManager.OpenScene(sceneName);
    }