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
| Type | Name |
|---|---|
System.Int32 | index |
HasTag(string)
是否包含指定的单个标签
View Source
Declaration
public bool HasTag(string tag)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
System.String | tag |
HasAnyTag(string[])
是否包含指定标签数组中的任意一个
View Source
Declaration
public bool HasAnyTag(string[] tags)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
System.String[] | tags |