void Start() { // wiiリモコン初期化処理 WiimoteManager.FindWiimotes(); _wmNum = (int)_type - 1; if (WiimoteManager.HasWiimote(_wmNum)) { _wm = WiimoteManager.Wiimotes[_wmNum]; _wm.InitWiiMotionPlus(); _wm.Speaker.Init(); int i = _wmNum + 1; _wm.SendPlayerLED(i == 1, i == 2, i == 3, i == 4); WiimoteManager.Rumble(_wmNum, false); } _playerManager.onDanceStart += () => { _dance.Begin(); }; }