示例#1
0
 // Cause the Myo to unlock with the provided type of unlock. e.g. UnlockType.Timed or UnlockType.Hold.
 public void Unlock(UnlockType type)
 {
             #if UNITY_EDITOR || !UNITY_IOS
     _myo.Unlock(type);
             #else
     Thalmic.MyoBindings.myo_UnlockWithType(identifier, (int)type);
             #endif
 }
示例#2
0
    // Cause the Myo to unlock with the provided type of unlock. e.g. UnlockType.Timed or UnlockType.Hold.
    public void Unlock (UnlockType type) {

//#if UNITY_EDITOR || !UNITY_IOS
#if UNITY_EDITOR
        _myo.Unlock (type);
		#elif UNITY_IOS
		Thalmic.MyoBindings.myo_UnlockWithType(identifier, (int) type);
		#endif
    }
示例#3
0
	// Cause the Myo to unlock with the provided type of unlock. e.g. UnlockType.Timed or UnlockType.Hold.
	public void Unlock (UnlockType type) {
		_myo.Unlock (type);
	}
示例#4
0
 // Cause the Myo to unlock with the provided type of unlock. e.g. UnlockType.Timed or UnlockType.Hold.
 public void Unlock(UnlockType type)
 {
     _myo.Unlock(type);
 }
示例#5
0
    // Cause the Myo to unlock with the provided type of unlock. e.g. UnlockType.Timed or UnlockType.Hold.
    public void Unlock (UnlockType type) {
		print ("myo unlock");
        _myo.Unlock (type);
    }