Esempio n. 1
0
    // Use this for initialization
    public override void Start()
    {
        task = (TemperatureTask)panelController.currentTask;

        TempBar.fillAmount = (task.CurrentTemp - MIN_TEMP) / 35;
        SliderMin.value    = task.TargetMin;
        SliderMax.value    = task.TargetMax;
    }
Esempio n. 2
0
    public override Task Create()
    {
        TemperatureTask task = new TemperatureTask();

        task.InitTaskWithTaskSO(this);
        task.taskPanel = ShipPanel.Thermostat;
        return(task);
    }