10 lines
183 B
GDScript3
10 lines
183 B
GDScript3
|
extends Camera2D
|
||
|
|
||
|
class_name MainCamera
|
||
|
|
||
|
func _ready() -> void:
|
||
|
enabled = true
|
||
|
#position_smoothing_enabled = false
|
||
|
position_smoothing_speed = 10
|
||
|
position_smoothing_enabled = true
|