NBC修改

This commit is contained in:
bob
2025-07-03 14:16:18 +08:00
parent 4febfadd56
commit 800e96aac7
2083 changed files with 60081 additions and 2942 deletions

View File

@@ -1,40 +0,0 @@
namespace NBC.Asset
{
public class BundleInfo
{
public readonly BundleData Bundle;
public BundleLoadMode LoadMode;
public BundleInfo(BundleData bundleData)
{
Bundle = bundleData;
}
/// <summary>
/// 资源地址
/// </summary>
public string BundlePath
{
get
{
if (LoadMode == BundleLoadMode.LoadFromStreaming)
{
return Bundle.StreamingFilePath;
}
if (LoadMode == BundleLoadMode.LoadFromCache)
{
return Bundle.CachedDataFilePath;
}
if (LoadMode == BundleLoadMode.LoadFromRemote)
{
return Bundle.RemoteDataFilePath;
}
return string.Empty;
}
}
}
}