コード例 #1
0
ファイル: Page_Set_About.cs プロジェクト: U3DC/Team_Open
 void BindContent()
 {
     Configure_Service.GetValue("About", c =>
     {
         EConfigure config = c.GetData() as EConfigure;
         Content.text      = config.Value;
     });
 }
コード例 #2
0
 void BindData()
 {
     Configure_Service.GetValue("IsSendNotic", c =>
     {
         EConfigure config   = c.GetData() as EConfigure;
         BtnIsSendNotic.isOn = bool.Parse(config.Value);
     });
 }
コード例 #3
0
 void OnBtnIsSendNoticClicked(GameObject g)
 {
     Configure_Service.GetValue("IsSendNotic", c =>
     {
         EConfigure config = c.GetData() as EConfigure;
         if (BtnIsSendNotic.isOn)
         {
             config.Value = "True";
         }
         else
         {
             config.Value = "False";
         }
         BaseOperation_Service.Change <EConfigure>(config, t =>
         {
             App.Instance.HintBox.Show("设置成功!");
         });
     });
 }