wangguan
2020-11-27 35aa79fbdfb87b2763d1c50bca3752fe5d1b97af
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);
    }
}