CSharpScript.xml 870 B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="CSharpScript" inherits="Script" 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. See also [GodotSharp].
  9. </description>
  10. <tutorials>
  11. <link title="C# documentation index">$DOCS_URL/tutorials/scripting/c_sharp/index.html</link>
  12. </tutorials>
  13. <methods>
  14. <method name="new" qualifiers="vararg">
  15. <return type="Variant" />
  16. <description>
  17. Returns a new instance of the script.
  18. </description>
  19. </method>
  20. </methods>
  21. </class>