private void Start() { keyMap = DirectionVectorMap.KeyMap( keyBind(KeyCode.W), keyBind(KeyCode.D), keyBind(KeyCode.S), keyBind(KeyCode.A) ); newPosition = VectorFunctions.move( () => (Vector2)gameObject.transform.position, keyMap, VectorFunctions.scale(0.1f) ); }