fix: youth room dof blur
This commit is contained in:
parent
525926086b
commit
098eef6fe5
|
|
@ -9,6 +9,7 @@ func _ready():
|
|||
|
||||
func focus_env():
|
||||
if dof_strength_tween: dof_strength_tween.kill()
|
||||
dof_strength_tween = create_tween()
|
||||
dof_strength_tween.tween_property(camera_attributes, "dof_blur_amount", 0, 1)
|
||||
await(dof_strength_tween.finished)
|
||||
camera_attributes.dof_blur_near_enabled = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue