public void NextSene()
    {
        //sharedobj.setIsGameStarted(true);
        //Debug.Log(sharedobj.getIsGameStarted());

        if (sharedobj.getPlayersTurn() == sharedobj.getPlayersCount())
        {
            sharedobj.setPlayersTurn(1);
        }
        else
        {
            sharedobj.setPlayersTurn(sharedobj.getPlayersTurn() + 1);
        }
        Debug.Log("nobateeeeee: " + sharedobj.getPlayersTurn());
        SceneManager.LoadScene(SceneName);
    }
    public void SaveSetting()
    {
        //Debug.Log(PlayerTextCount.text);
        sharedobj.setPlayersCount(int.Parse(PlayerTextCount.text));
        sharedobj.setIsFirstRound(true);
        //sharedobj.setIsGameStarted(true);
        sharedobj.setTimerForEveryone(TimerTextCount.text);
        sharedobj.setCountNum(int.Parse(NumTextCount.text));
        sharedobj.setCurentNumber(1);
        sharedobj.setPlayersTurn(0);         //نوبت نفر اول
        int[] Empty_Score = new int[6];
        Empty_Score[0] = 0;
        Empty_Score[1] = 0;
        Empty_Score[2] = 0;
        Empty_Score[3] = 0;
        Empty_Score[4] = 0;
        Empty_Score[5] = 0;

        sharedobj.setPlayersScoreList(Empty_Score);

        //PlayerPrefs.SetInt("IsGameStarted1",0);
        Debug.Log(sharedobj.getIsGameStarted());
        set();
    }