using UnityEngine; namespace Gameplay.Utils { public class CmpObjRef : MonoBehaviour { public static CmpObjRef instance { get; private set; } private void Awake() { instance = this; DontDestroyOnLoad(gameObject); } } }