Unity场景之间的转换

using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public class login : MonoBehaviour {


    public void Btn_Open()

    {

//要加载的下一个场景(sce4是场景的名字)

        UnityEngine.SceneManagement.SceneManager.LoadScene("sce4");
    }



}

猜你喜欢

转载自blog.csdn.net/wk201403010114/article/details/80514869