Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 2.54 KB

class_csharpscript.rst

File metadata and controls

67 lines (43 loc) · 2.54 KB
github_url:hide

CSharpScript

Inherits: :ref:`Script<class_Script>` < :ref:`Resource<class_Resource>` < :ref:`RefCounted<class_RefCounted>` < :ref:`Object<class_Object>`

A script implemented in the C# programming language, saved with the .cs extension (Mono-enabled builds only).

.. rst-class:: classref-introduction-group

Description

This class represents a C# script. It is the C# equivalent of the :ref:`GDScript<class_GDScript>` class and is only available in Mono-enabled Godot builds.

.. rst-class:: classref-introduction-group

Tutorials

.. rst-class:: classref-reftable-group

Methods

:ref:`Variant<class_Variant>` :ref:`new<class_CSharpScript_method_new>`(...) |vararg|
.. rst-class:: classref-section-separator


.. rst-class:: classref-descriptions-group

Method Descriptions

.. rst-class:: classref-method

:ref:`Variant<class_Variant>` new(...) |vararg| :ref:`🔗<class_CSharpScript_method_new>`

Returns a new instance of the script.