public void SaveGesture() { MhGesture gesture = gestureInput.GetCurrentgesture(); gesture.Name = inputField.text; MhGestureManager.AddGesture(gesture); MhGestureManager.SaveGestures(); LoadSymbols(); }
public void UpdatedSelectedSymbol() { string symbolName = dropDownList.options[dropDownList.value].text; MhGestureManager.RemoveGesture(symbolName); MhGesture gesture = gestureInput.GetCurrentgesture(); gesture.Name = symbolName; MhGestureManager.AddGesture(gesture); MhGestureManager.SaveGestures(); }