wangguan
2020-11-26 a50f5e1cbb21d2135153cf48fe2df508c8c223fd
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);
    }
}