CheckEnableThermalStateForIOS(BuildProfile, bool)
Checks the "Adjust iOS FPS based on thermal state" Player Setting and, if it is enabled, prompts the user (via dialog in interactive sessions) to disable it so the Adaptive Performance Apple provider can manage thermal mitigation.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.AdaptivePerformance.Editor
- Assembly: UnityEditor.AdaptivePerformanceModule
public static bool CheckEnableThermalStateForIOS(BuildProfile profile = null, bool forcePrompt = false)
Parameters
Optional active build profile. When supplied, the profile's player settings are inspected and updated; otherwise the project-wide PlayerSettings are used.
When , bypass the per-session "asked once" suppression and always re-display the dialog (when not in batch mode). Build-time callers should pass so a misconfiguration is surfaced even if the user already dismissed the dialog earlier in the editor session.
truetrueReturns
Type | Description |
|---|---|
| bool | |