Files
fps_project_1/scripts/key_pickup.gd
2024-10-16 16:58:16 -05:00

20 lines
436 B
GDScript

extends RigidBody3D
@export_enum("Silver", "Gold", "Special") var key_type: int
@export var special_key_name : String
@export var collision_shape : Node
var pickupable = true
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
add_to_group("pickup")
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func picked_up():
pass