Esempio n. 1
0
    public void UpdateWipersAuto()
    {
        if (ignitionStatus == IgnitionStatus.Off)
        {
            return;
        }

        prevWiperStatus = wiperStatus;
        animationManager.PlayWiperAnim(0); //temp placeholder code, it should be a auto wiper logic here instead of turning off
    }
Esempio n. 2
0
    void UpdateWipers()
    {
        if (animationManager == null)
        {
            return;
        }

        if (animationManager.CanWiperSwitchLevel())
        {
            if (prevWiperStatus != wiperStatus)
            {
                animationManager.PlayWiperAnim(wiperStatus);
                prevWiperStatus = wiperStatus;
            }
        }
    }