Untitled

 avatar
unknown
csharp
7 months ago
290 B
9
Indexable
// Method to update the position of the hand item to match the current mouse position.
private void UpdateHandItemPosition() => _rectTransform.position = CameraManager.Instance.mainCamera.ScreenToWorldPoint(new Vector3(Input.mousePosition.x, Input.mousePosition.y, 100)) + _positionOffset;
Editor is loading...
Leave a Comment