Optimize project directory and fix bugs

This commit is contained in:
1605296300@qq.com
2022-09-09 10:16:15 +08:00
parent ede4ab91a3
commit 280069987c
5 changed files with 10 additions and 137 deletions
+2 -2
View File
@@ -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);