mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
Replace Meta keyboard shortcut with explicit key (#3477)
This commit is contained in:
@@ -408,7 +408,7 @@ Inherit the Bar Scene to build the LifeBar
|
||||
Go to ``Scene -> New Inherited Scene`` to create a new type of ``Bar``.
|
||||
Select the Bar scene and open it. You should see a new [unsaved] tab,
|
||||
that's like your ``Bar``, but with all nodes except the root in grey.
|
||||
Press :kbd:`Meta + S` to save the new inherited scene and name it
|
||||
Press :kbd:`Ctrl + S` (:kbd:`Cmd + S` on macOS) to save the new inherited scene and name it
|
||||
``LifeBar``.
|
||||
|
||||
.. figure:: img/ui_gui_step_tutorial_inherited_scene_parent.png
|
||||
@@ -474,7 +474,7 @@ all the resources this node uses and create unique copies for us.
|
||||
.. tip::
|
||||
|
||||
When you duplicate a node from the Scene tree, with
|
||||
:kbd:`Meta + D`, it shares its resources with the original node. You
|
||||
:kbd:`Ctrl + D` (:kbd:`Cmd + D` on macOS), it shares its resources with the original node. You
|
||||
need to use ``Make Sub-Resources Unique`` before you can tweak the
|
||||
resources without affecting the source node.
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ We have to add a root node before we can save the scene. Your UI's root
|
||||
should be the outermost container or element. In this case it's a
|
||||
``MarginContainer``. ``MarginContainer`` is a good starting point for
|
||||
most interfaces, as you often need padding around the UI. Press
|
||||
:kbd:`Meta + S` to save the scene to the disk. Name it *MainMenu*.
|
||||
:kbd:`Ctrl + S` (:kbd:`Cmd + S` on macOS) to save the scene to the disk. Name it *MainMenu*.
|
||||
|
||||
Select the ``MarginContainer`` again, and head to the inspector to
|
||||
define the margins' size. Scroll down the ``Control`` class, to the
|
||||
@@ -152,9 +152,9 @@ Select the ``MarginContainer``, and create the UI elements as
|
||||
3. the version note,
|
||||
4. and the main menu's illustration.
|
||||
|
||||
Click the **Add Node** button or press :kbd:`Meta + A` on your keyboard.
|
||||
Click the **Add Node** button or press :kbd:`Ctrl + A` (:kbd:`Cmd + A` on macOS) on your keyboard.
|
||||
Start to type ``TextureRect`` to find the corresponding node and press
|
||||
enter. With the new node selected, press :kbd:`Meta + D` five times to
|
||||
enter. With the new node selected, press :kbd:`Ctrl + D` (:kbd:`Cmd + D` on macOS) five times to
|
||||
create five extra ``TextureRect`` instances.
|
||||
|
||||
Click each of the nodes to select it. In the inspector, find the **Texture**
|
||||
@@ -234,7 +234,7 @@ automatically.
|
||||
|
||||
To space out the menu options and the logo on the left, we'll use one
|
||||
final container and its size flags. Select the ``VBoxContainer`` and
|
||||
press :kbd:`Meta + A` to add a new node inside it. Add a second
|
||||
press :kbd:`Ctrl + A` (:kbd:`Cmd + A` on macOS) to add a new node inside it. Add a second
|
||||
``VBoxContainer`` and name it *MenuOptions*. Select all three menu
|
||||
options, ``Continue``, ``NewGame`` and ``Options``, and drag and drop
|
||||
them inside the new ``VBoxContainer``. The UI's layout should barely
|
||||
|
||||
Reference in New Issue
Block a user