Path: blob/master/modules/mono/doc_classes/CSharpScript.xml
10278 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="CSharpScript" inherits="Script" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">2<brief_description>3A script implemented in the C# programming language, saved with the [code].cs[/code] extension (Mono-enabled builds only).4</brief_description>5<description>6This class represents a C# script. It is the C# equivalent of the [GDScript] class and is only available in Mono-enabled Godot builds.7</description>8<tutorials>9<link title="C# documentation index">$DOCS_URL/tutorials/scripting/c_sharp/index.html</link>10</tutorials>11<methods>12<method name="new" qualifiers="vararg">13<return type="Variant" />14<description>15Returns a new instance of the script.16</description>17</method>18</methods>19</class>202122