mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Clarify visibility in VisibleOnScreenNotifier
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<description>
|
||||
The VisibleOnScreenNotifier2D detects when it is visible on the screen. It also notifies when its bounding rectangle enters or exits the screen or a viewport.
|
||||
If you want nodes to be disabled automatically when they exit the screen, use [VisibleOnScreenEnabler2D] instead.
|
||||
[b]Note:[/b] VisibleOnScreenNotifier2D uses the render culling code to determine whether it's visible on screen, which also means that its [member CanvasItem.visible] must be [code]true[/code] to work correctly.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="2D Dodge The Creeps Demo">https://godotengine.org/asset-library/asset/515</link>
|
||||
|
||||
Reference in New Issue
Block a user