xiandie/scene/camera/main_camera.gd

10 lines
183 B
GDScript3
Raw Normal View History

2024-12-23 01:29:31 +00:00
extends Camera2D
class_name MainCamera
func _ready() -> void:
enabled = true
#position_smoothing_enabled = false
position_smoothing_speed = 10
position_smoothing_enabled = true