场景切换前必须要将场景拖动到Build中 同步加载场景
using System.Collections;
using System.Collections.Generic;
//using UnityEditor.SearchService;
using UnityEngine;
// 场景管理 需要导入该类
using UnityEngine.SceneManagement;public class c3 : MonoBehaviour
{…
问题:项目一执行: pnpm run dev, 启动就出错,
Failed to load resource: the server responded with a status of 401 (Unauthorized) 分析:
项目之前是正常运行的,没有问题,回溯刚刚改动,还原…