public void TransformCharacterTo(UI_Tourment_Rivial Next_Round)
 {
     Next_Round.TransSkin.gameObject.SetActive(true);
     Debug.Log("Change : " + Next_Round.KeyRoundCurr);
     Next_Round.TargetGraphic.HeadSprite     = TargetGraphic.HeadSprite;
     Next_Round.TargetGraphic.handSprite     = TargetGraphic.handSprite;
     Next_Round.TargetGraphic.ItemHandSprite = TargetGraphic.ItemHandSprite;
     Next_Round.TargetGraphic.LegSprite      = TargetGraphic.LegSprite;
     Next_Round.TargetGraphic.ItemLegSprite  = TargetGraphic.ItemLegSprite;
     Next_Round.runProcess = true;
     Next_Round.Skin       = Skin;
     Next_Round.TargetGraphic.Apply();
 }
    public void LoadNewTour()
    {
        int[] SKin1 = UI_Tourment_Rivial.RandomSKin();
        int[] SKin2 = UI_Tourment_Rivial.RandomSKin();
        int[] SKin3 = UI_Tourment_Rivial.RandomSKin();
        int[] SKin4 = UI_Tourment_Rivial.RandomSKin();
        int[] SKin5 = UI_Tourment_Rivial.RandomSKin();
        int[] SKin6 = UI_Tourment_Rivial.RandomSKin();
        int[] SKin7 = UI_Tourment_Rivial.RandomSKin();
        int[] SKin8 = UI_Tourment_Rivial.RandomSKin();

        Skin Skin1 = new Skin(SKin1);
        Skin Skin2 = new Skin(SKin2);
        Skin Skin3 = new Skin(SKin3);
        Skin Skin4 = new Skin(SKin4);
        Skin Skin5 = new Skin(SKin5);
        Skin Skin6 = new Skin(SKin6);
        Skin Skin7 = new Skin(SKin7);
        Skin Skin8 = new Skin(SKin8);

        List <Skin> SKins = new List <Skin>();

        SKins.Add(Skin1);
        SKins.Add(Skin2);
        SKins.Add(Skin3);
        SKins.Add(Skin4);
        SKins.Add(Skin5);
        SKins.Add(Skin6);
        SKins.Add(Skin7);
        SKins.Add(Skin8);


        Skins ListSins = new Skins(SKins);

        string json = JsonUtility.ToJson(ListSins);

        PlayerPrefs.SetString(Key_Skins, json);
        PlayerPrefs.Save();


        PlayerPrefs.SetInt(Key_Tourment, 0);
        // A
        Match match1 = new Match("V_1", "V_1_0", 0, 0);
        Match match2 = new Match("V_1_3", "V_1_4", 0, 0);


        BoardMatch boardmatch = new BoardMatch();

        boardmatch.Matchs.Add(match1);
        boardmatch.Matchs.Add(match2);

        Match match3 = new Match("V_2_1", "V_2_0", 0, 0);

        BoardMatch boardmatch1 = new BoardMatch();

        boardmatch1.Matchs.Add(match3);

        MatchGlobal global = new MatchGlobal();

        global.Matchs.Add(boardmatch);
        global.Matchs.Add(boardmatch1);

        string json2 = JsonUtility.ToJson(global);

        PlayerPrefs.SetString(Key_Tourment_A, json2);
        PlayerPrefs.Save();

        ////////////////////////////////////

        Match      match4      = new Match("B_V_1_0", "B_V_1_1", 0, 0);
        Match      match5      = new Match("B_V_1_2", "B_V_1_3", 0, 0);
        BoardMatch boardmatch3 = new BoardMatch();

        boardmatch3.Matchs.Add(match4);
        boardmatch3.Matchs.Add(match5);


        Match      match6      = new Match("B_V_2_0", "B_V_2_1", 0, 0);
        BoardMatch boardmatch4 = new BoardMatch();

        boardmatch4.Matchs.Add(match6);

        MatchGlobal global_1 = new MatchGlobal();

        global_1.Matchs.Add(boardmatch3);
        global_1.Matchs.Add(boardmatch4);

        string json1 = JsonUtility.ToJson(global_1);

        PlayerPrefs.SetString(Key_Tourment_B, json1);
        PlayerPrefs.Save();

        LoadPlayer();
    }