Skip to content

Instantly share code, notes, and snippets.

@unitycoder
Created March 19, 2025 17:33
Show Gist options
  • Save unitycoder/1c12a6d35bcda4f462981652a031b746 to your computer and use it in GitHub Desktop.
Save unitycoder/1c12a6d35bcda4f462981652a031b746 to your computer and use it in GitHub Desktop.
Move Screenspace UI (ugui) element near Mouse Position
tooltipRect.position = Input.mousePosition + (Vector3.right+Vector3.up) * 20;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment