From 1cf03bf049c519164ae90c6837776ab3f5dfb472 Mon Sep 17 00:00:00 2001 From: hevinci Date: Fri, 18 Nov 2022 10:21:48 +0800 Subject: [PATCH] Update basic sample --- .../Samples~/Basic Sample/GameScript/Runtime/GameScene1.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/GameScene1.cs b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/GameScene1.cs index d41c283..335d9d1 100644 --- a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/GameScene1.cs +++ b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/GameScene1.cs @@ -195,6 +195,7 @@ public class GameScene1 : MonoBehaviour { var handle = YooAssets.LoadAssetSync("ui_window"); handle.InstantiateSync(CanvasRoot.transform); + _cachedAssetOperationHandles.Add(handle); } }