コード例 #1
0
 private void importLayout()
 {
     TimeSwitchInfo[] datas = JsonParserExpand.DeserializeFromFile <TimeSwitchInfo[]>(DirectoryHelper.TimeSwitchSchemeName, DirectoryHelper.TimeSwitchFileExt);
     if (datas != null)
     {
         loadTimingSwitch(datas);
         AutoSave();
     }
 }
コード例 #2
0
        private void importLayout()
        {
            SplitScreenInfo data = JsonParserExpand.DeserializeFromFile <SplitScreenInfo>(DirectoryHelper.LayoutSchemeName, DirectoryHelper.LayoutFileExt);

            if (data != null)
            {
                SplitScreenModel.SplitScreenData = data;
            }
        }