Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetThresholds(int, int, bool)

Change the percentage levels of the dial.
Read time 1 minuteLast updated 10 days ago

Definition

public void SetThresholds(int yellowPercentage, int redPercentage, bool force = false)

Parameters

yellowPercentage


redPercentage


force

Force and intemediate update.