mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-26 01:34:19 +00:00
9 lines
188 B
GDScript
9 lines
188 B
GDScript
extends RigidBody3D
|
|
|
|
|
|
@export var value = 5
|
|
|
|
|
|
func _on_collectible_by_player_collected():
|
|
var ps: PeaShooter = Singletons.player.get_node("Head/OnHand/PeaShooter")
|
|
ps.remaining += value
|