private void Awake() { if (instance == null) { instance = this; } else { Debug.LogWarning("More than one PetUIController in the Scene"); } }
private void Awake() { instance = this; }