コード例 #1
0
ファイル: Example.cs プロジェクト: yugosaito4/BeaconsAlgo
 private void SetBroadcastMode()
 {
     // setText
     txt_BroadcastMode_LabelText.text = bm_Mode.ToString();
     //KU this
     //if (bm_Mode == BroadcastMode.receive)
     //	txt_BroadcastMode_ButtonText.text = "Switch to " + BroadcastMode.send.ToString();
     //else
     //	txt_BroadcastMode_ButtonText.text = "Switch to " + BroadcastMode.receive.ToString();
 }
コード例 #2
0
ファイル: Example.cs プロジェクト: reyreyhan/pkm-tol
 private void SetBroadcastMode()
 {
     // setText
     txt_BroadcastMode_LabelText.text = bm_Mode.ToString();
     if (bm_Mode == BroadcastMode.receive)
     {
         txt_BroadcastMode_ButtonText.text = "Switch to " + BroadcastMode.send.ToString();
     }
     else
     {
         txt_BroadcastMode_ButtonText.text = "Switch to " + BroadcastMode.receive.ToString();
     }
 }