private bool IsEnvironmentGood() { HI5_GloveStatus gloveStatus = HI5_Manager.GetGloveStatus(); if (gloveStatus.LeftMagneticStatus != MagneticStatus.Good || gloveStatus.RightMagneticStatus != MagneticStatus.Good || gloveStatus.LeftPower == PowerLevel.Low || gloveStatus.RightPower == PowerLevel.Low) { return(false); } else { return(true); } }
private void Start() { m_Status = HI5_Manager.GetGloveStatus(); }
private void OnEnable() { m_HI5Status = HI5_Manager.GetGloveStatus(); }