z-hack/src/PlayerFollow.gd

8 lines
70 B
GDScript

extends Camera2D
var player
func _ready():
player = get_parent()