You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Clarify that the script class should not be used directly
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
A class stored as a resource. A script extends 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.
|
||||||
|
This is the base class for all scripts and should not be used directly. Trying to create a new script with this class will result in an error.
|
||||||
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>
|
||||||
|
|||||||
Reference in New Issue
Block a user