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

Class AssetInfo

Assembly: YooAsset.Editor.dll
Declaration
[Serializable]
public class AssetInfo : IComparable<AssetInfo>

Properties

FileExtension

文件格式

Declaration
public string FileExtension { get; }

Fields

AssetPath

资源路径

Declaration
public string AssetPath

AssetGUID

资源GUID

Declaration
public string AssetGUID

AssetType

资源类型

Declaration
public Type AssetType

Methods

IsShaderAsset()

是否为着色器资源

Declaration
public bool IsShaderAsset()
Returns

System.Boolean

CompareTo(AssetInfo)

Declaration
public int CompareTo(AssetInfo other)
Returns

System.Int32

Parameters
TypeName
YooAsset.Editor.AssetInfoother

Implements

  • System.IComparable<YooAsset.Editor.AssetInfo>