Пример #1
0
 public override void MyUpdate()
 {
     for (int i = 0; i < m_NpadIds.Length; ++i)
     {
         //接続状態の更新
         ConnectUpdate(i);
         //入力情報の更新
         SwitchInput.InputUpdate(i, m_NpadIds[i]);
     }
 }
Пример #2
0
 public override void MyUpdate()
 {
     for (int i = 0; i < npadIds.Length; ++i)
     {
         //接続状態の更新
         ConnectUpdate(i);
         //入力情報の更新
         SwitchInput.InputUpdate(i, npadIds[i]);
         SwitchAcceleration.AccelerationUpdate(i, npadIds[i]);
     }
 }
Пример #3
0
    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
                                    );
        }
    }