2017-10-02 21:24:00 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-14 13:18:53 +00:00
|
|
|
<class name="CSharpScript" inherits="Script" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
2017-10-02 21:24:00 +00:00
|
|
|
<brief_description>
|
2020-06-16 09:12:57 +00:00
|
|
|
A script implemented in the C# programming language (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.
|
|
|
|
See also [GodotSharp].
|
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>
|