/// <summary> /// Take the range input and set the range of the current Sensor /// </summary> public void SyncSensorRange() { float temp = 0; if ((float.TryParse(RangeEntry.GetComponent <InputField>().text, out temp) && temp >= 0)) { currentSensor.SetSensorRange(temp, true); } }