|
@@ -16,7 +16,7 @@ properties such as the node's name or position. A common dilemma is, when
|
|
should you change those values?
|
|
should you change those values?
|
|
|
|
|
|
It is the best practice to change values on a node before adding it to the
|
|
It is the best practice to change values on a node before adding it to the
|
|
-scene tree. Some properties setters have code to update other
|
|
|
|
|
|
+scene tree. Some property's setters have code to update other
|
|
corresponding values, and that code can be slow! For most cases, this code
|
|
corresponding values, and that code can be slow! For most cases, this code
|
|
has no impact on your game's performance, but in heavy use cases such as
|
|
has no impact on your game's performance, but in heavy use cases such as
|
|
procedural generation, it can bring your game to a crawl.
|
|
procedural generation, it can bring your game to a crawl.
|