///<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(); } }
public void Start() { this.leftJoycon = JoyconHelper.GetLeftJoycon(); CloseMenu(); }
public void Start() { this.rightJoycon = JoyconHelper.GetRightJoycon(); }