private void Move() { moveX = Input.GetAxisRaw("Horizontal"); moveY = Input.GetAxisRaw("Vertical"); moveVector.x = moveX; moveVector.y = moveY; moveInterface.SetVector(moveVector, Vector3.zero); }
public void SetMovePosition(Vector3 movePosition) { this.movePosition = movePosition; moveInterface.SetVector(Vector3.zero, movePosition); }