void Update() { var pos = Input.mousePosition; _xValue.targetValue = pos.x / Screen.width; _yValue.targetValue = pos.y / Screen.height; _xEvent.Invoke(_xValue.Step()); _yEvent.Invoke(_yValue.Step()); }