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