NullReferenceException: Object reference not set to an instance of an objectNo21_SceneManager.Update...
NullReferenceException: Object reference not set to an instance of an object
No21_SceneManager.Update () (at Assets/Scripts/No21_SceneManager.cs:27)
最后一节场景管理一直会报空指针异常,有人知道吗?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
//功能说明:场景管理
public class No21_SceneManager : MonoBehaviour
{
private AsyncOperation ao;