public static void SetMusic(MusicClipType bg) { instance.music.clip = instance.bg_music[(int)bg]; }
public static void SetRandomMusic(MusicClipType min = MusicClipType.bg_1, MusicClipType max = MusicClipType.end) { SetMusic((MusicClipType)Random.Range((int)min, (int)max)); }