Merge pull request #9291 from austin226/patch-1

Fix typo in 2D transform tutorial

(cherry picked from commit a80b88d8c7)
This commit is contained in:
Matthew
2024-04-28 21:13:26 -04:00
committed by Max Hilbrunner
parent 7c894304d3
commit 3c4f0257dd

View File

@@ -98,7 +98,7 @@ the following order:
.. code-tab:: csharp
var screenCord = GetViewport().GetScreenTransform() * GetGlobalTransformWithCanvas() * localPos;
var screenCoord = GetViewport().GetScreenTransform() * GetGlobalTransformWithCanvas() * localPos;
Keep in mind, however, that it is generally not desired to work with screen coordinates. The
recommended approach is to simply work in Canvas coordinates