기술 자료

Unity Engine

Unity Engine

EnergyUsageControl(IAdaptivePerformance)

Returns the energy-usage control for the given Adaptive Performance instance, or null if the active implementation does not support energy-usage tracking.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static IEnergyUsageControl EnergyUsageControl(this IAdaptivePerformance adaptivePerformance)

Parameters

adaptivePerformance

The Adaptive Performance instance to query.

Returns

Type

Description

IEnergyUsageControlThe energy-usage control, or
null
when unsupported.

Remarks

Exposed as an extension method rather than a member of IAdaptivePerformance so that it can be added without breaking existing external implementations of that interface.