public override void MyUpdate() { for (int i = 0; i < m_NpadIds.Length; ++i) { //接続状態の更新 ConnectUpdate(i); //入力情報の更新 SwitchInput.InputUpdate(i, m_NpadIds[i]); } }
public override void MyUpdate() { for (int i = 0; i < npadIds.Length; ++i) { //接続状態の更新 ConnectUpdate(i); //入力情報の更新 SwitchInput.InputUpdate(i, npadIds[i]); SwitchAcceleration.AccelerationUpdate(i, npadIds[i]); } }
public override void MyUpdate() { for (int i = 0; i < #if UNITY_SWITCH && !(UNITY_EDITOR) npadIds.Length #else 1 #endif ; ++i) { //接続状態の更新 ConnectUpdate(i); //入力情報の更新 SwitchInput.InputUpdate(i #if UNITY_SWITCH && !(UNITY_EDITOR) , npadIds[i] #endif ); } }