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