代码如下,代码中ScenceManager被标红线报错
用的是unity2021.2.0f1c1
想问下怎么解决,谢谢
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class zhuangbei : MonoBehaviour
{
// Start is called before the first frame update
public void OnStartGame(int ScenceNumber){
ScenceManager.LoadScence(ScenceNumber);
}
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}