Ver Fonte

Marked a section as important

Björn Ritzl há 5 anos atrás
pai
commit
6bf6769d78
1 ficheiros alterados com 2 adições e 0 exclusões
  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.
+:::