private void OnMyoPose(MyoConnection.Pose newpose) { if (newpose == MyoConnection.Pose.Fist && Myo.GetComponent <MyoSync>().InSync) { PerformTap(); } }
private void OnHandPoseChanged(MyoConnection.Pose newpose) { if (_synchronizing && newpose == MyoConnection.Pose.Fist) { PerformMyoSync(); } }