文档

Unity Engine

Unity Engine

Selected

The selected provider: the entry used as the default for new content, or null when none is chosen.
阅读时间1 分钟最后更新于 1 个月前

Definition

public IAssetProvider Selected { get; set; }

Remarks

Assigning a provider that is not in AssetProvider.Providers is ignored and leaves the selection
null
. When the selected provider is removed from the chain, the selection resets to the first provider, or
null
when the chain is empty.