1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #99020 from Mickeon/documentation-example-pruning-2

Clean up more `[b]Example:[/b]` lines from the class reference
This commit is contained in:
Thaddeus Crews
2024-11-12 09:28:02 -06:00
29 changed files with 60 additions and 65 deletions

View File

@@ -16,11 +16,10 @@
<return type="Variant" />
<description>
Returns a new instance of the script.
For example:
[codeblock]
var MyClass = load("myclass.gd")
var instance = MyClass.new()
assert(instance.get_script() == MyClass)
print(instance.get_script() == MyClass) # Prints true
[/codeblock]
</description>
</method>