Interaction brought back
This commit is contained in:
parent
2c7903e95d
commit
66e8707940
6 changed files with 23 additions and 11 deletions
8
scripts/player/player_interaction.gd
Normal file
8
scripts/player/player_interaction.gd
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends Node
|
||||
|
||||
|
||||
func on_player_start_interacting():
|
||||
Session.interact(get_parent().player_id)
|
||||
|
||||
func on_player_end_interacting():
|
||||
Session.stop_interact(get_parent().player_id)
|
||||
1
scripts/player/player_interaction.gd.uid
Normal file
1
scripts/player/player_interaction.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dsp1sq46c5i3y
|
||||
Loading…
Add table
Add a link
Reference in a new issue