liuzhiwei
2020-12-28 20d94d22bd80b0f3b748d2078916ebaa1d6ec856
1
2
3
4
5
6
7
8
9
10
11
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
 
public class DoNotDestory : MonoBehaviour
{
    public void Awake()
    {
        DontDestroyOnLoad(gameObject);
    }
}