1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-24 08:44:18 +00:00
pineapple-surf/island/Pineapple.gd

13 lines
188 B
GDScript3
Raw Normal View History

extends RigidBody3D
@onready var player := Singletons.player
func _on_collectible_by_player_collected():
2023-01-09 01:17:34 +00:00
player.collected_fruit += 1
2023-01-09 11:35:14 +00:00
func _on_splash_sound_finished():
queue_free()