using System.Collections; using System.Collections.Generic; using UnityEngine; public class DoNotDestory : MonoBehaviour { public void Awake() { DontDestroyOnLoad(gameObject); } }