wangguan
2020-12-08 3d13f2e8a23602aedb8adf5d2d02e377a330a61b
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);
    }
}