Remove rect_ prefix from control properties when keyframing
This commit is contained in:
parent
f5a89bf460
commit
60677c4e95
3 changed files with 5 additions and 5 deletions
|
|
@ -144,7 +144,7 @@
|
|||
# This code block is part of a script that inherits from Node3D.
|
||||
# `control` is a reference to a node inheriting from Control.
|
||||
control.visible = not get_viewport().get_camera_3d().is_position_behind(global_transform.origin)
|
||||
control.rect_position = get_viewport().get_camera_3d().unproject_position(global_transform.origin)
|
||||
control.position = get_viewport().get_camera_3d().unproject_position(global_transform.origin)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue