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

Class CollectShader

Assembly: YooAsset.Editor.dll​
Declaration
[DisplayName("收集着色器")]
public class CollectShader : IFilterRule

Properties​

FindAssetType​

搜寻的资源类型 说明:使用引擎方法搜索获取所有资源列表

Declaration
public string FindAssetType { get; }

Methods​

IsCollectAsset(FilterRuleData)​

验证搜寻的资源是否为收集资源

Declaration
public bool IsCollectAsset(FilterRuleData data)
Returns​

System.Boolean: 如果收集该资源返回TRUE

Parameters​
TypeName
YooAsset.Editor.FilterRuleDatadata

Implements​