private void OnDestroy() { if (s_instance == this) { s_instance = null; s_instanceExists = false; } }