mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Various grammar and spelling fixes
This commit is contained in:
@@ -2255,7 +2255,7 @@ This is better explained through examples. Consider this scenario:
|
||||
|
||||
There are a few things to keep in mind here:
|
||||
|
||||
1. If the inherited class (``state.gd``) defines a ``_init`` constructor that takes
|
||||
1. If the inherited class (``state.gd``) defines an ``_init`` constructor that takes
|
||||
arguments (``e`` in this case), then the inheriting class (``idle.gd``) *must*
|
||||
define ``_init`` as well and pass appropriate parameters to ``_init`` from ``state.gd``.
|
||||
2. ``idle.gd`` can have a different number of arguments than the base class ``state.gd``.
|
||||
|
||||
@@ -483,7 +483,7 @@ annotations, you can use ``@export_custom`` instead. This allows defining any
|
||||
property hint, hint string and usage flags, with a syntax similar to the one
|
||||
used by the editor for built-in nodes.
|
||||
|
||||
For example, this exposes the ``altitude`` property with no range limits but a
|
||||
For example, this exposes the ``altitude`` property with no range limits but an
|
||||
``m`` (meter) suffix defined:
|
||||
|
||||
::
|
||||
|
||||
Reference in New Issue
Block a user