void Awake() { if (instance != null) { Destroy(gameObject); } else { instance = this; } }
void OnDestroy() { instance = null; }