mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-21 23:34:21 +00:00
12 lines
188 B
GDScript
12 lines
188 B
GDScript
extends RigidBody3D
|
|
|
|
|
|
@onready var player := Singletons.player
|
|
|
|
|
|
func _on_collectible_by_player_collected():
|
|
player.collected_fruit += 1
|
|
|
|
|
|
func _on_splash_sound_finished():
|
|
queue_free()
|