示例#1
0
    protected void Update()
    {
        if (m_glove == null)
        {
            m_glove = CyberGloveInput.GetGlove(m_hand);
        }

        UpdateMotorsState();
    }
 /// <summary>
 /// Returns true if the glove is active
 /// </summary>
 bool IsGloveActive(CyberGloveInput.CyberGlove glove)
 {
     return(glove != null && glove.Connected);
 }