2017-10-03 05:24:00 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 16:08:05 +08:00
|
|
|
<class name="CSharpScript" inherits="Script" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
2017-10-03 05:24:00 +08:00
|
|
|
<brief_description>
|
2023-06-23 00:56:08 +08:00
|
|
|
A script implemented in the C# programming language, saved with the [code].cs[/code] extension (Mono-enabled builds only).
|
2017-10-03 05:24:00 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2020-06-16 17:12:57 +08:00
|
|
|
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].
|
2017-10-03 05:24:00 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2021-11-15 17:43:07 +08:00
|
|
|
<link title="C# documentation index">$DOCS_URL/tutorials/scripting/c_sharp/index.html</link>
|
2017-10-03 05:24:00 +08:00
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="new" qualifiers="vararg">
|
2021-10-01 14:14:54 +08:00
|
|
|
<return type="Variant" />
|
2017-10-03 05:24:00 +08:00
|
|
|
<description>
|
2020-06-16 17:12:57 +08:00
|
|
|
Returns a new instance of the script.
|
2017-10-03 05:24:00 +08:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
</class>
|