mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Merge pull request #1434 from Kloppie5/patch-1
Fixed spelling mistake in comment on AS operator
This commit is contained in:
committed by
mhilbrunner
parent
16edb825a6
commit
346be317e7
@@ -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**
|
||||
|
||||
Reference in New Issue
Block a user