Fix typo in 2D transform tutorial

Change `screenCord` to `screenCoord`
This commit is contained in:
Austin Almond
2024-04-27 23:28:04 -04:00
committed by GitHub
parent acd169b395
commit 10ccdbeabc

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