Esempio n. 1
0
        /// <summary>
        /// 設定保存
        /// </summary>
        private IEnumerator SaveSetting()
        {
            LiplisSetting.Instance.Setting.FlgTopicNews    = ToggleTopicNews.isOn;
            LiplisSetting.Instance.Setting.FlgTopicSummary = ToggleTopicSummary.isOn;
            LiplisSetting.Instance.Setting.FlgTopicRetweet = ToggleTopicRetweet.isOn;
            LiplisSetting.Instance.Setting.FlgTopicHash    = ToggleTopicHash.isOn;
            LiplisSetting.Instance.Setting.FlgVoice        = ToggleTalkVoice.isOn;
            LiplisSetting.Instance.Setting.FlgDebug        = ToggleDebug.isOn;

            //おしゃべりスピード
            LiplisSetting.Instance.Setting.TalkSpeed = TopicSpeed.value;
            LiplisSetting.Instance.Setting.TalkNum   = TopicNumDrop.value;

            //グラフィックレベル
            LiplisSetting.Instance.Setting.GraphicLevel    = CboGraphicLevel.value;
            LiplisSetting.Instance.Setting.DrawingFps      = CboDrawingFps.value;
            LiplisSetting.Instance.Setting.SpeechBallonNum = CboSpeechBallonNum.value;

            //キャラクター配置
            LiplisSetting.Instance.Setting.CharArrangement = CboArrangement.value;

            //FPS変更
            Application.targetFrameRate = LiplisSetting.Instance.Setting.GetFps();

            //指定キー「LiplisStatus」でリプリスステータスのインスタンスを保存する
            SaveDataSetting.SetClass(LpsDefine.SETKEY_LIPLIS_SETTING, LiplisSetting.Instance);

            //セーブ発動
            SaveDataSetting.Save();

            yield return(null);
        }
Esempio n. 2
0
    /// <summary>
    /// 設定保存
    /// </summary>
    private IEnumerator SaveSetting()
    {
        LiplisSetting.Instance.Setting.FlgTopicNews    = ToggleTopicNews.isOn;
        LiplisSetting.Instance.Setting.FlgTopicSummary = ToggleTopicSummary.isOn;
        LiplisSetting.Instance.Setting.FlgTopicRetweet = ToggleTopicRetweet.isOn;
        LiplisSetting.Instance.Setting.FlgTopicHash    = ToggleTopicHash.isOn;
        LiplisSetting.Instance.Setting.FlgVoice        = ToggleTalkVoice.isOn;
        LiplisSetting.Instance.Setting.FlgDebug        = ToggleDebug.isOn;

        //おしゃべりスピード
        LiplisSetting.Instance.Setting.TalkSpeed = TopicSpeed.value;
        LiplisSetting.Instance.Setting.TalkNum   = TopicNumDrop.value;

        //グラフィックレベル
        LiplisSetting.Instance.Setting.GraphicLevel = GraphicLevelDrop.value;

        //指定キー「LiplisStatus」でリプリスステータスのインスタンスを保存する
        SaveDataSetting.SetClass(LpsDefine.SETKEY_LIPLIS_SETTING, LiplisSetting.Instance);

        //セーブ発動
        SaveDataSetting.Save();

        yield return(null);
    }