Skip to content

Commit b4c9602

Browse files
committed
Merge pull request #105964 from markdibarry/deprecate-parallax-background-and-layer
Deprecate `ParallaxBackground` and `ParallaxLayer`
2 parents f215384 + 36e5392 commit b4c9602

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/classes/ParallaxBackground.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
2-
<class name="ParallaxBackground" inherits="CanvasLayer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
2+
<class name="ParallaxBackground" inherits="CanvasLayer" deprecated="Use the [Parallax2D] node instead." xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
33
<brief_description>
44
A node used to create a parallax scrolling background.
55
</brief_description>

doc/classes/ParallaxLayer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
2-
<class name="ParallaxLayer" inherits="Node2D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
2+
<class name="ParallaxLayer" inherits="Node2D" deprecated="Use the [Parallax2D] node instead." xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
33
<brief_description>
44
A parallax scrolling layer to be used with [ParallaxBackground].
55
</brief_description>

0 commit comments

Comments
 (0)