Exemple #1
0
    private void Move()
    {
        transform.position = new Vector3(_gridPosition.x, _gridPosition.y);
        CheckMoveRate();

        transform.position = Teleport.CheckCurrentPosition(transform.position);
        _gridPosition      = transform.position;
    }