跳到主要内容
版本:3.0.x

Struct BundleUnpackInfo

资源包解包判定信息

Assembly: YooAsset.dll
View Source
Declaration
public readonly struct BundleUnpackInfo

Properties

BundleName

资源包名称

View Source
Declaration
public string BundleName { get; }

FileName

资源包文件名称

View Source
Declaration
public string FileName { get; }

BundleType

资源包类型

View Source
Declaration
public int BundleType { get; }

IsEncrypted

是否为加密资源包

View Source
Declaration
public bool IsEncrypted { get; }

TagCount

分类标签数量

View Source
Declaration
public int TagCount { get; }

Methods

GetTag(int)

获取指定索引的分类标签

View Source
Declaration
public string GetTag(int index)
Returns

System.String

Parameters
TypeName
System.Int32index

HasTag(string)

是否包含指定的单个标签

View Source
Declaration
public bool HasTag(string tag)
Returns

System.Boolean

Parameters
TypeName
System.Stringtag

HasAnyTag(string[])

是否包含指定标签数组中的任意一个

View Source
Declaration
public bool HasAnyTag(string[] tags)
Returns

System.Boolean

Parameters
TypeName
System.String[]tags