private void OnDestroy() { if (Instance != null) { Instance = null; } }
private void Awake() { Instance = this; LoadImages(); if (img != null) { img.gameObject.SetActive(false); } }
private void OnDestroy() { if (Instance != null) { Instance = null; } }
private void Awake() { Instance = this; LoadImages(); if (img != null) { img.gameObject.SetActive(false); } }