mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:35:34 +00:00
FSM Selector with sound
This commit is contained in:
parent
f6d159b9c4
commit
ee09c50dbd
20 changed files with 330 additions and 28 deletions
|
|
@ -42,22 +42,22 @@ public partial class Selector : Node2D
|
|||
}
|
||||
}
|
||||
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
if (Input.IsActionJustPressed("scan"))
|
||||
{
|
||||
SelectNext();
|
||||
}
|
||||
|
||||
// if (SelectedInteractable is not null) {
|
||||
// this.Visible = true;
|
||||
// this.GlobalPosition = SelectedInteractable.GlobalPosition;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// this.Visible = false;
|
||||
// }
|
||||
}
|
||||
// public override void _Process(double delta)
|
||||
// {
|
||||
// if (Input.IsActionJustPressed("scan"))
|
||||
// {
|
||||
// SelectNext();
|
||||
// }
|
||||
//
|
||||
// // if (SelectedInteractable is not null) {
|
||||
// // this.Visible = true;
|
||||
// // this.GlobalPosition = SelectedInteractable.GlobalPosition;
|
||||
// // }
|
||||
// // else
|
||||
// // {
|
||||
// // this.Visible = false;
|
||||
// // }
|
||||
// }
|
||||
|
||||
public void SelectNext()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue