void Awake() { if (s_instance != null) { //Debug.LogError("Cannot have two instances of GameSnd."); return; } s_instance = this; DontDestroyOnLoad(this); //Debug.Log("GameSnd Awake"); }
public static AudioClip GetSnd(GameSnd input) { return(snds[(int)input]); }