Преглед изворни кода

Marked a section as important

Björn Ritzl пре 5 година
родитељ
комит
6bf6769d78
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      docs/en/manuals/building-blocks.md

+ 2 - 0
docs/en/manuals/building-blocks.md

@@ -107,4 +107,6 @@ local parent = go.get_id("bean")
 msg.post("child_bean", "set_parent", { parent_id = parent })
 ```
 
+::: important
 A common misunderstanding is that a game object's place in the collection hierarchy changes when it becomes part of a parent-child hierarchy. However, these are two very different things. Parent-child hierarchies dynamically alters the scene graph which allows objects to be visually attached to each other. The only thing that dictates a game object's address is its place in the collection hierarchy. The address is static throughout the lifetime of the object.
+:::