before planets
This commit is contained in:
parent
bb6404e918
commit
e09f05b566
57 changed files with 1203 additions and 90 deletions
|
@ -1,6 +1,7 @@
|
|||
extends Area3D
|
||||
class_name CheckPoint
|
||||
@export var check_point_id : int = 0
|
||||
@onready var check_point_manager: Node = $"../../CheckPointManager"
|
||||
|
||||
|
||||
|
||||
|
@ -8,7 +9,7 @@ func _on_body_entered(body: Node3D) -> void:
|
|||
if body is not Car:
|
||||
return
|
||||
|
||||
CheckPointManager.checkPointEnter(check_point_id)
|
||||
check_point_manager.checkPointEnter(check_point_id)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue