Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EnergyUsage(params (EnergyUsageSubsystem subsystem, EnergyUsageReading reading)[])

Initializes a new EnergyUsage with the given readings.
Read time 1 minuteLast updated 7 days ago

Definition

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.