WuhuIslandTesting/Library/PackageCache/com.unity.addressables@1.21.12/Tests/Editor/DocExampleCode/Preload.cs
2025-01-07 02:06:59 +01:00

18 lines
375 B
C#

namespace AddressableAssets.DocExampleCode
{
#region doc_Preload
using System.Collections;
using UnityEngine;
using UnityEngine.AddressableAssets;
internal class Preload : MonoBehaviour
{
public IEnumerator Start()
{
yield return Addressables.DownloadDependenciesAsync("preload", true);
}
}
#endregion
}