diff --git a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/GameScene1.cs b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/GameScene1.cs index 335d9d1..e5abc04 100644 --- a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/GameScene1.cs +++ b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/GameScene1.cs @@ -22,8 +22,8 @@ public class GameScene1 : MonoBehaviour // 初始化窗口 InitWindow(); - // 异步加载背景音乐 - AsyncLoadMusic(); + // 加载背景音乐 + LoadMusic(); } void OnDestroy() { @@ -176,9 +176,8 @@ public class GameScene1 : MonoBehaviour var btn = CanvasRoot.transform.Find("load_rawfile/btn").GetComponent