Add note in ParallaxLayer doc about ignoring position/scale changes after entering the scene

(cherry picked from commit 07e0f796af)
This commit is contained in:
Michael Alexsander Silva Dias 2018-10-02 17:48:01 -03:00 committed by Rémi Verschelde
parent 0e992e6089
commit d2b6a0dc7a
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
<description> <description>
A ParallaxLayer must be the child of a [ParallaxBackground] node. Each ParallaxLayer can be set to move at different speeds relative to the camera movement or the [member ParallaxBackground.scroll_offset] value. A ParallaxLayer must be the child of a [ParallaxBackground] node. Each ParallaxLayer can be set to move at different speeds relative to the camera movement or the [member ParallaxBackground.scroll_offset] value.
This node's children will be affected by its scroll offset. This node's children will be affected by its scroll offset.
Note that any changes to this node's position and scale made after it enters the scene will be ignored.
</description> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>