mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with current source
This commit is contained in:
@@ -22,7 +22,7 @@ Methods
|
||||
-------
|
||||
|
||||
+-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`action_press<class_Input_action_press>` **(** :ref:`String<class_String>` action **)** |
|
||||
| void | :ref:`action_press<class_Input_action_press>` **(** :ref:`String<class_String>` action, :ref:`float<class_float>` strength=1.0 **)** |
|
||||
+-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`action_release<class_Input_action_release>` **(** :ref:`String<class_String>` action **)** |
|
||||
+-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
@@ -174,10 +174,12 @@ Method Descriptions
|
||||
|
||||
.. _class_Input_action_press:
|
||||
|
||||
- void **action_press** **(** :ref:`String<class_String>` action **)**
|
||||
- void **action_press** **(** :ref:`String<class_String>` action, :ref:`float<class_float>` strength=1.0 **)**
|
||||
|
||||
This will simulate pressing the specified action.
|
||||
|
||||
The strength can be used for non-boolean actions, it's ranged between 0 and 1 representing the intensity of the given action.
|
||||
|
||||
.. _class_Input_action_release:
|
||||
|
||||
- void **action_release** **(** :ref:`String<class_String>` action **)**
|
||||
|
||||
Reference in New Issue
Block a user