beta-1.0
This commit is contained in:
11
Scripts/Objects/Loading Zone/collision_loading_zone.gd
Normal file
11
Scripts/Objects/Loading Zone/collision_loading_zone.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
extends Area2D
|
||||
class_name CollisionLoadingZone
|
||||
|
||||
@export var loading_zone_transporter: LoadingZoneTransporter
|
||||
|
||||
# Private Methods
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
if body is not PlayerCharacter:
|
||||
return
|
||||
|
||||
loading_zone_transporter.Activate()
|
||||
Reference in New Issue
Block a user