文档

Unity Engine

Unity Engine

canAddSetting

Callback that determines if the settings object this provider describes can be added to the given build profile. Must be set for settings to appear in the Build Profile window; when not set, the settings will not be shown.
阅读时间1 分钟最后更新于 1 个月前

Definition

public Func<BuildProfile, bool> canAddSetting { get; set; }

Remarks

The delegate receives a BuildProfile and returns true if the settings foldout should be available for that profile.