diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2021-12-16 07:35:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 07:35:10 +0100 |
commit | edd3ca45016a4ee8cc5f7c1108e1c71bfa2a86ab (patch) | |
tree | 383444bf53df2f27bd412b00b07ae36a6d052b19 | |
parent | cedd690d3a7932939ca5f9ac7e9adca228dc5223 (diff) | |
parent | 9f983eea8caf6801fd0d88aaf4ddd668e1cda729 (diff) |
Merge pull request #55974 from skyace65/ScriptDoc
Clarify that the script class should not be used directly
-rw-r--r-- | doc/classes/Script.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Script.xml b/doc/classes/Script.xml index ab88bdaa73..4174e1afeb 100644 --- a/doc/classes/Script.xml +++ b/doc/classes/Script.xml @@ -5,6 +5,7 @@ </brief_description> <description> 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. </description> <tutorials> |