Merge pull request #34024 from miere43/script-docs-typo-fix

Fixed typo in docs for Script and GDScript classes
This commit is contained in:
Rémi Verschelde 2019-11-30 22:08:29 +01:00 committed by GitHub
commit ea8a30a5ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
A class stored as a resource. A class stored as a resource.
</brief_description> </brief_description>
<description> <description>
A class stored as a resource. A script exends the functionality of all objects that instance it. A class stored as a resource. A script extends the functionality of all objects that instance it.
The [code]new[/code] method of a script subclass creates a new instance. [method Object.set_script] extends an existing object, if that object's class matches one of the script's base classes. The [code]new[/code] method of a script subclass creates a new instance. [method Object.set_script] extends an existing object, if that object's class matches one of the script's base classes.
</description> </description>
<tutorials> <tutorials>

View file

@ -4,7 +4,7 @@
A script implemented in the GDScript programming language. A script implemented in the GDScript programming language.
</brief_description> </brief_description>
<description> <description>
A script implemented in the GDScript programming language. The script exends the functionality of all objects that instance it. A script implemented in the GDScript programming language. The script extends the functionality of all objects that instance it.
[method new] creates a new instance of the script. [method Object.set_script] extends an existing object, if that object's class matches one of the script's base classes. [method new] creates a new instance of the script. [method Object.set_script] extends an existing object, if that object's class matches one of the script's base classes.
</description> </description>
<tutorials> <tutorials>