Esempio n. 1
0
    private void Move()
    {
        moveX = Input.GetAxisRaw("Horizontal");
        moveY = Input.GetAxisRaw("Vertical");

        moveVector.x = moveX;
        moveVector.y = moveY;

        moveInterface.SetVector(moveVector, Vector3.zero);
    }
Esempio n. 2
0
 public void SetMovePosition(Vector3 movePosition)
 {
     this.movePosition = movePosition;
     moveInterface.SetVector(Vector3.zero, movePosition);
 }