mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Merge pull request #8879 from 31/dev/31/my-typos
Fix C# typos: capitalize method name, use public property names
This commit is contained in:
@@ -48,8 +48,8 @@ Exporting works with fields and properties. They can have any access modifier.
|
|||||||
|
|
||||||
Exported members can specify a default value; otherwise, the `default value of the type <https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/default-values>`_ is used instead.
|
Exported members can specify a default value; otherwise, the `default value of the type <https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/default-values>`_ is used instead.
|
||||||
|
|
||||||
An ``int`` like ``_number`` defaults to ``0``. ``_text`` defaults to null
|
An ``int`` like ``Number`` defaults to ``0``. ``Text`` defaults to null because
|
||||||
because ``string`` is a reference type.
|
``string`` is a reference type.
|
||||||
|
|
||||||
.. code-block:: csharp
|
.. code-block:: csharp
|
||||||
|
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ because no C# static types exist for signals defined by GDScript:
|
|||||||
|
|
||||||
.. code-block:: csharp
|
.. code-block:: csharp
|
||||||
|
|
||||||
myGDScriptNode.Connect("my_signal", Callable.From(mySignalHandler));
|
myGDScriptNode.Connect("my_signal", Callable.From(MySignalHandler));
|
||||||
|
|
||||||
Inheritance
|
Inheritance
|
||||||
-----------
|
-----------
|
||||||
|
|||||||
Reference in New Issue
Block a user