浏览代码

Update components.md

Björn Ritzl 6 年之前
父节点
当前提交
c39834d075
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      docs/en/manuals/components.md

+ 4 - 2
docs/en/manuals/components.md

@@ -53,6 +53,8 @@ msg.post("#weapon", "enable")
 
 ## Component properties
 
-The Defold components types all have different properties. The [Properties pane](/manuals/editor/#_the_editor_views) in the editor will show the properties of the currently selected component in the [Outline pane](/manuals/editor/#_the_editor_views).
+The Defold components types all have different properties. The [Properties pane](/manuals/editor/#_the_editor_views) in the editor will show the properties of the currently selected component in the [Outline pane](/manuals/editor/#_the_editor_views). Refer to the manuals of the different component types to learn more about the available component properties.
 
-Visual components usually have a position and rotation property and most often also a scale property. These properties can be changed from the editor and in almost all cases the properties can't be changed at run-time (the only exception is sprite scale which can be changed at run-time). If you need to change the position, rotation or scale of a component at run-time you instead modify the position, rotation and scale of the game object that the component belongs to. This has the side effect that all components on the game object will be affected. If you wish to only manipulate a single component out of many attached to a game object it is recommended that the component in question is moved to a separate game object and added as a child game object to the game object the component originally belonged to.
+### Component position, rotation and scale
+
+Visual components usually have a position and rotation property and most often also a scale property. These properties can be changed from the editor and in almost all cases the properties can't be changed at run-time (the only exception is sprite and label component scale which can be changed at run-time). If you need to change the position, rotation or scale of a component at run-time you instead modify the position, rotation and scale of the game object that the component belongs to. This has the side effect that all components on the game object will be affected. If you wish to only manipulate a single component out of many attached to a game object it is recommended that the component in question is moved to a separate game object and added as a child game object to the game object the component originally belonged to.