コード例 #1
0
    /// FONCTIONS DE SET dans la list de struc des slider, can we make it more compact?
    public void TourbilolChangeValue(int index, float newValue)
    {
        Tourbilol tourbilol = SL_Tourbilols[index];

        tourbilol.setValue(newValue);
        SL_Tourbilols.RemoveAt(index);
        SL_Tourbilols.Insert(index, tourbilol);
    }
コード例 #2
0
    public void TourbilolChangeValueWanted(int index, float newValue)
    {
        Tourbilol slider = SL_Tourbilols[index];

        slider.setValueWanted(newValue);
        SL_Tourbilols.RemoveAt(index);
        SL_Tourbilols.Insert(index, slider);
    }
コード例 #3
0
    public void TourbilolChangeIsPanne(int index, bool newValue)
    {
        Tourbilol slider = SL_Tourbilols[index];

        slider.setIsEnPanne(newValue);
        SL_Tourbilols.RemoveAt(index);
        SL_Tourbilols.Insert(index, slider);
    }