EnergyUsage(params (EnergyUsageSubsystem subsystem, EnergyUsageReading reading)[])
Initializes a new EnergyUsage with the given readings.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
EnergyUsage(ValueTuple<EnergyUsageSubsystem, EnergyUsageReading>[])
public EnergyUsage(params (EnergyUsageSubsystem subsystem, EnergyUsageReading reading)[] readings)
Parameters
The readings to record, each paired with the subsystem it belongs to.