文档

Unity Engine

Unity Engine

IAdaptivePerformanceLoaderMetadata

Provides an interface for describing specific loader metadata. Package authors should implement this interface for each loader they provide in their package.
阅读时间1 分钟最后更新于 1 个月前

Definition

public interface IAdaptivePerformanceLoaderMetadata

Properties

Property

Description

loaderNameThe user-facing name for this loader. Will be used to populate the list in the Adaptive Performance Provider Management UI.
loaderTypeThe full type name for this loader. This is used to allow management to find and create instances of supported loaders for your package.
priorityDefines the priority of the loader. The higher the number, the higher the priority. Basic provider will take 0, google provider takes 1, and samsung provider will take 2. If a user takes the already taken value, the order will not be guaranteed.
supportedBuildTargetsThe full list of supported build targets for this loader. This allows the UI to only show the loaders appropriate for a specific build target.