mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Use code markup for default values/overrides
Sync with godotengine/godot#35357. Fixes #3071.
This commit is contained in:
@@ -33,11 +33,11 @@ Changes a local variable's value to the given input. The new value is also provi
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------------------+------------------------------------------------------------------+-------------+
|
||||
| :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`type<class_VisualScriptLocalVarSet_property_type>` | 0 |
|
||||
+-----------------------------------------------------+------------------------------------------------------------------+-------------+
|
||||
| :ref:`String<class_String>` | :ref:`var_name<class_VisualScriptLocalVarSet_property_var_name>` | "new_local" |
|
||||
+-----------------------------------------------------+------------------------------------------------------------------+-------------+
|
||||
+-----------------------------------------------------+------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`type<class_VisualScriptLocalVarSet_property_type>` | ``0`` |
|
||||
+-----------------------------------------------------+------------------------------------------------------------------+-----------------+
|
||||
| :ref:`String<class_String>` | :ref:`var_name<class_VisualScriptLocalVarSet_property_var_name>` | ``"new_local"`` |
|
||||
+-----------------------------------------------------+------------------------------------------------------------------+-----------------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
@@ -47,7 +47,7 @@ Property Descriptions
|
||||
- :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **type**
|
||||
|
||||
+-----------+---------------------+
|
||||
| *Default* | 0 |
|
||||
| *Default* | ``0`` |
|
||||
+-----------+---------------------+
|
||||
| *Setter* | set_var_type(value) |
|
||||
+-----------+---------------------+
|
||||
@@ -63,7 +63,7 @@ The local variable's type.
|
||||
- :ref:`String<class_String>` **var_name**
|
||||
|
||||
+-----------+---------------------+
|
||||
| *Default* | "new_local" |
|
||||
| *Default* | ``"new_local"`` |
|
||||
+-----------+---------------------+
|
||||
| *Setter* | set_var_name(value) |
|
||||
+-----------+---------------------+
|
||||
|
||||
Reference in New Issue
Block a user