36 lines
789 B
C#
36 lines
789 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.AddressableAssets;
|
|
using UnityEngine.ResourceManagement.AsyncOperations;
|
|
|
|
namespace DDD
|
|
{
|
|
public class AssetManager : Singleton<AssetManager>, IManager
|
|
{
|
|
public void Init()
|
|
{
|
|
|
|
}
|
|
|
|
public void PostInit()
|
|
{
|
|
|
|
}
|
|
|
|
// public AsyncOperationHandle LoadAsset(AssetReference assetRef)
|
|
// {
|
|
//
|
|
// var handle = assetRef.LoadAssetAsync<ScriptableObject>();
|
|
// }
|
|
//
|
|
// private void OnAssetLoaded(AsyncOperationHandle obj)
|
|
// {
|
|
//
|
|
// }
|
|
//
|
|
// public void ReleaseAsset()
|
|
// {
|
|
// TestRef.ReleaseAsset();
|
|
// }
|
|
}
|
|
} |