示例#1
0
 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
 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();
     }
 }