Optimize project directory and fix bugs
This commit is contained in:
@@ -362,10 +362,9 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
var tmp = CurrentAudioSources[0];
|
||||
CurrentAudioSources.Clear();
|
||||
Destroy(tmp.gameObject);
|
||||
UI.ResetPlayer();
|
||||
UI.ResetAudioPlayer();
|
||||
}
|
||||
|
||||
|
||||
foreach (AudioClip clip in LoadAudio(SongAwb))
|
||||
{
|
||||
AddAudioSource(clip);
|
||||
@@ -410,6 +409,7 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
|
||||
FileStream awbFile = File.OpenRead(awbPath);
|
||||
AwbReader awbReader = new AwbReader(awbFile);
|
||||
|
||||
foreach (Wave wave in awbReader.Waves)
|
||||
{
|
||||
var stream = new UmaWaveStream(awbReader, wave.WaveId);
|
||||
|
||||
Reference in New Issue
Block a user