Merge pull request #2514 from Meriipu/patch-1

Tutorial text: try and -> try to
This commit is contained in:
Nathan Lovato
2019-06-09 10:31:47 +09:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ It inherits from the following classes:
with events so you can check the event type's available properties and
methods.
You can encounter errors if you try and access a property on an input type that
You can encounter errors if you try to access a property on an input type that
doesn't contain it - calling ``position`` on ``InputEventKey`` for example. To
avoid this, make sure to test the event type first:
+1 -1
View File
@@ -68,7 +68,7 @@ You could do this by adding the bullet to the main scene directly:
Node bulletInstance = Bullet.Instance();
GetParent().AddChild(bulletInstance);
However, this will lead to a different problem. Now if you try and test your
However, this will lead to a different problem. Now if you try to test your
"Player" scene independently, it will crash on shooting, because there is no
parent node to access. This makes it a lot harder to test your player code
independently and also means that if you decide to change your main scene's