Pārlūkot izejas kodu

Fix typo in 2D transform tutorial

Change `screenCord` to `screenCoord`
Austin Almond 1 gadu atpakaļ
vecāks
revīzija
10ccdbeabc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tutorials/2d/2d_transforms.rst

+ 1 - 1
tutorials/2d/2d_transforms.rst

@@ -98,7 +98,7 @@ the following order:
 
 
  .. code-tab:: csharp
  .. 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
 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
 recommended approach is to simply work in Canvas coordinates