Last active
August 29, 2015 14:02
-
-
Save TakaakiIchijo/0b51225325e4859499d8 to your computer and use it in GitHub Desktop.
Load file from Resources folder (ex: load AudioClip)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private List<AudioClip> seAudioClips = new List<AudioClip>(); | |
void Awake () { | |
seAudioClips = Resources.LoadAll(filePath, typeof(AudioClip)).Cast<AudioClip>().ToList(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment