private void Awake() { if (instance != null) { Debug.LogError("More than one SoundObjectManager in scene!"); Destroy(this.gameObject); return; } instance = this; }