Exemplo n.º 1
0
    public void StopIdle()
    {
        idleEnabled = false;
        ClearIdleTimer();
        RemoveListeners();
        environmentCameraController.StopAnimation();
        fadeController.FadeOutInstantly();

        if (autoIdle && !idleEnabled)
        {
            SetIdleTimer(timeBeforeIdle);
        }

        idleStoped?.Invoke();
    }