Pārlūkot izejas kodu

Add _CLASS_SNAKE_CASE_ script template placeholder

Muller-Castro 3 mēneši atpakaļ
vecāks
revīzija
c8583abde8
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      tutorials/scripting/creating_script_templates.rst

+ 3 - 0
tutorials/scripting/creating_script_templates.rst

@@ -205,6 +205,9 @@ Base placeholders
 +--------------------------+----------------------------------------------------+
 | ``_CLASS_``              | The name of the new class.                         |
 +--------------------------+----------------------------------------------------+
+| ``_CLASS_SNAKE_CASE_``   | The name of the new class as ``snake_case``        |
+|                          | (used in GDScript only).                           |
++--------------------------+----------------------------------------------------+
 | ``_BASE_``               | The base type a new script inherits from.          |
 +--------------------------+----------------------------------------------------+
 | ``_TS_``                 | Indentation placeholder. The exact type and number |