b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
21 lines
841 B
XML
21 lines
841 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="CSharpScript" inherits="Script" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
A script implemented in the C# programming language (Mono-enabled builds only).
|
|
</brief_description>
|
|
<description>
|
|
This class represents a C# script. It is the C# equivalent of the [GDScript] class and is only available in Mono-enabled Godot builds.
|
|
See also [GodotSharp].
|
|
</description>
|
|
<tutorials>
|
|
<link title="C# documentation index">$DOCS_URL/tutorials/scripting/c_sharp/index.html</link>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="new" qualifiers="vararg">
|
|
<return type="Variant" />
|
|
<description>
|
|
Returns a new instance of the script.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
</class>
|