///<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();
     }
 }
Пример #2
0
 public void Start()
 {
     this.leftJoycon = JoyconHelper.GetLeftJoycon();
     CloseMenu();
 }
Пример #3
0
 public void Start()
 {
     this.rightJoycon = JoyconHelper.GetRightJoycon();
 }