mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-25 01:04:18 +00:00
8 lines
138 B
GDScript
8 lines
138 B
GDScript
extends RigidBody3D
|
|
|
|
|
|
@onready var player := Singletons.player
|
|
|
|
|
|
func _on_collectible_by_player_collected():
|
|
player.collected_fruit += 1
|