godot-psd-training/sceen/platform/PinchPeoplePathFollow3D.gd
2024-05-10 16:53:03 +08:00

13 lines
213 B
GDScript

extends PathFollow3D
func _on_timer_timeout() -> void:
progress += 0.068
func peopleWalkToScreenDoor() -> void:
$"../Timer".start()
$"../..".visible = true
func peopleStopWalk()-> void:
$"../Timer".stop()