private void Awake() { if (Ins == null) { Ins = this; DontDestroyOnLoad(this); } else if (Ins != this) { Destroy(gameObject); } }
private void OnEnable() { managerAds = (ManagerAds)target; }
private void Awake() { if (Ins == null) { Ins = this; DontDestroyOnLoad(this); } else if (Ins != this) { Destroy(gameObject); } }
private void OnEnable() { managerAds = (ManagerAds)target; }