using System; using System.Collections; using System.Collections.Generic; using Mono.UI.Core; using UnityEngine; public class DontDestroyOnLoadTag : MonoBehaviour { void Awake() { DontDestroyOnLoad(this); } public void Update() { TimeComponent.Instance.Update(); } }