///<summary>
 ///Sets corresponding LED's to differentiate the first and second controller
 ///</summary>
 void Start()
 {
     for (int i = 0; i < joycons.Count; ++i)
     {
         Debug.Log(i);
         Joycon jc   = joycons[i];
         byte   LEDs = 0x0;
         LEDs |= (byte)(0x1 << i);
         jc.Attach(leds_: LEDs);
         jc.Begin();
     }
 }
Exemplo n.º 2
0
 public void Start()
 {
     this.leftJoycon = JoyconHelper.GetLeftJoycon();
     CloseMenu();
 }
Exemplo n.º 3
0
 public void Start()
 {
     this.rightJoycon = JoyconHelper.GetRightJoycon();
 }