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

Class CollectShaderVariants

收集着色器变种集合的过滤规则

Assembly: YooAsset.Editor.dll
View Source
Declaration
[DisplayName("收集着色器变种集合")]
public class CollectShaderVariants : IAssetFilterRule

Properties

FindAssetType

搜寻的资源类型

View Source
Declaration
public string FindAssetType { get; }

Methods

IsCollectAsset(AssetFilterRuleData)

检查是否为收集资源

View Source
Declaration
public bool IsCollectAsset(AssetFilterRuleData data)
Returns

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

Parameters
TypeNameDescription
YooAsset.Editor.AssetFilterRuleDatadata过滤规则数据

Implements