Пример #1
0
    // Update is called once per frame
    void Update()
    {
        mods[0] = time_bar.value;
        mods[1] = speed_bar.value;

        parent_maneuver.mod_string = "T: " + mods[0].ToString("#.##") + "\nSp: " + mods[1].ToString("#.##");

        parent_maneuver.ChangeModifier("duration", mods[0]);
        parent_maneuver.ChangeModifier("speed", mods[1]);
    }
Пример #2
0
    // Update is called once per frame
    void Update()
    {
        mods[0] = degree_bar.value;

        parent_maneuver.mod_string = "Deg: " + mods[0];

        parent_maneuver.ChangeModifier("degree", mods[0]);
    }