Firstborn/Library/PackageCache/com.unity.addressables@1.19.19/Tests/Editor/DocExampleCode/Preload.cs

15 lines
364 B
C#
Raw Normal View History

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
}