Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 18 days ago

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.