Skip to content

Instantly share code, notes, and snippets.

@Ratstail91
Last active August 15, 2019 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ratstail91/7d9187ec41a293236ee0abfb9e45c045 to your computer and use it in GitHub Desktop.
Save Ratstail91/7d9187ec41a293236ee0abfb9e45c045 to your computer and use it in GitHub Desktop.
//good for preventing duplicated code
[System.Serializable]
struct AudioData {
public string name;
public AudioSource source;
//other data, such as modulation
}
public List<AudioData> audioList = new audioList<AudioData>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment