文档

Unity Engine

Unity Engine

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

Initializes a new EnergyUsage with the given readings.
阅读时间1 分钟最后更新于 1 个月前

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.