mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 16:25:54 +00:00
I forgor
This commit is contained in:
parent
686dea6c8d
commit
3eef40c40c
3 changed files with 19 additions and 3 deletions
|
|
@ -270,7 +270,17 @@ public partial class PlayerMovement : CharacterBody2D, IDestructible
|
|||
|
||||
private void _on_interaction_controller_area_exited(Area2D area)
|
||||
{
|
||||
|
||||
if (area.IsInGroup("Interactable") && area is Interactable interactable)
|
||||
{
|
||||
Debug.WriteLine($"Interactable {area.Name} Exited");
|
||||
|
||||
if (_selector != null)
|
||||
{
|
||||
_selector.Position = interactable.Position;
|
||||
_selector.Visible = true;
|
||||
_lastInteractable = interactable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Explode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue