Explorar o código

Merge pull request #1434 from Kloppie5/patch-1

Fixed spelling mistake in comment on AS operator
Max Hilbrunner %!s(int64=7) %!d(string=hai) anos
pai
achega
346be317e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      getting_started/scripting/c_sharp/c_sharp_features.rst

+ 1 - 1
getting_started/scripting/c_sharp/c_sharp_features.rst

@@ -39,7 +39,7 @@ and for this reason it cannot be used with value types.
 .. code-block:: csharp
 
     Sprite mySprite = GetNode("MySprite") as Sprite;
-    // Only call SetFrame() is mySprite is not null
+    // Only call SetFrame() if mySprite is not null
     mySprite?.SetFrame(0);
 
 **Type checking using the IS operator**