mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Minor dodge the creeps fixes
This commit is contained in:
@@ -48,9 +48,9 @@ Start by declaring the member variables this object will need:
|
||||
Using the ``export`` keyword on the first variable ``speed`` allows us to set
|
||||
its value in the Inspector. This can be handy for values that you want to be
|
||||
able to adjust just like a node's built-in properties. Click on the ``Player``
|
||||
node and you'll see the property now appears in the "Script Variables" section
|
||||
of the Inspector. Remember, if you change the value here, it will override the
|
||||
value written in the script.
|
||||
node and you'll see the property now appears in the Inspector in a new section
|
||||
with the name of the script. Remember, if you change the value here, it will
|
||||
override the value written in the script.
|
||||
|
||||
.. warning::
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ to instance.
|
||||
}
|
||||
|
||||
Click the ``Main`` node and you will see the ``Mob Scene`` property in the Inspector
|
||||
under "Script Variables".
|
||||
under "Main.gd".
|
||||
|
||||
You can assign this property's value in two ways:
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user