/*Public methods*/

    public void OnExitToMenuButtonClick()
    {
        string infoWindowText = "Do you really want to exit to main menu ?";

        UnityAction okAction = () =>
        {
            GameManagerComponent.FinishSession();
            GameManagerComponent.LoadScene(SceneIndex.Menu);
        };

        InfoWindowComponent.ShowOkCancel(infoWindowText, okAction, null);
    }