mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 12:15:54 +00:00
Refactored switches and chests and mapping
This commit is contained in:
parent
295d32e66d
commit
cc5376e94e
14 changed files with 158 additions and 91 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using Godot;
|
||||
using Cirno.Scripts.Interactables;
|
||||
using Godot;
|
||||
|
||||
[Tool]
|
||||
public partial class DoorButtonVisualizer : Node2D
|
||||
|
|
@ -36,7 +37,7 @@ public partial class DoorButtonVisualizer : Node2D
|
|||
// if (TargetPath == null || !Engine.IsEditorHint())
|
||||
// return;
|
||||
|
||||
if (_parent is not Interactable p) return;
|
||||
if (_parent is not Switch p) return;
|
||||
|
||||
if (p.Target == null) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue