public void SetEmgState(EmgState emgState)
    {
#if UNITY_EDITOR
        _myo.SetEmgState(emgState);
#elif UNITY_IOS
        Thalmic.MyoBindings.myo_SetStreamEmg(identifier, (int)emgState);
#endif
    }
Exemplo n.º 2
0
    public void SetEmgState(EmgState emgState)
	{

#if UNITY_EDITOR
		_myo.SetEmgState (emgState);
#elif UNITY_IOS
		Thalmic.MyoBindings.myo_SetStreamEmg(identifier, (int)emgState);
#endif
	}