예제 #1
0
    void FixedUpdate()
    {
        SmoothWaypoint3DBehaviour comp = GetComponent <SmoothWaypoint3DBehaviour>();

        if (comp.valueControl.maxDelta <= 1f)
        {
            comp.valueControl.maxDelta = 1f;
        }
    }
예제 #2
0
    public void LowVitesse()
    {
        SmoothWaypoint3DBehaviour comp = GetComponent <SmoothWaypoint3DBehaviour>();

        comp.valueControl.maxDelta -= 4f;
    }