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