Example #1
0
    private void Start()                                                        //キーボードテスト
    {
        json = File.ReadAllText(Application.persistentDataPath + "/data.json"); //読み取ってるよ
        json = encryption.DecryptString(json);
        JsonUtility.FromJsonOverwrite(json, sv);                                //読み取ったのを変換してるよ
        Gasha_SE se = scriptbox.GetComponent <Gasha_SE>();                      //スコアを取得

        se.SEswitch(sv._sound);
        se.BGMswitch(sv._BGM);
    }