EnergyUsage(params (EnergyUsageSubsystem subsystem, EnergyUsageReading reading)[])
Initializes a new EnergyUsage with the given readings.
阅读时间1 分钟最后更新于 1 个月前
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.