WIP RESET THIS
This commit is contained in:
parent
7d8d80350b
commit
62416307ef
|
@ -0,0 +1,6 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/overlays/HeatOverlay.cs" type="Script" id=1]
|
||||
|
||||
[node name="Heat Overlay" type="Node"]
|
||||
script = ExtResource( 1 )
|
|
@ -0,0 +1,10 @@
|
|||
using Godot;
|
||||
using System;
|
||||
|
||||
public class HeatOverlay : Node
|
||||
{
|
||||
public override void _Ready()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
using Godot;
|
||||
|
||||
public class NoOverlay : Node
|
||||
{
|
||||
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
using Godot;
|
||||
using System;
|
||||
|
||||
public class Overlays : Node
|
||||
{
|
||||
[Export]
|
||||
private KeyList _cycleOverlayKey;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void _Input(InputEvent @event)
|
||||
{
|
||||
base._Input(@event);
|
||||
|
||||
if (!(@event is InputEventKey keyEvent))
|
||||
return;
|
||||
|
||||
if (!(keyEvent.Pressed))
|
||||
return;
|
||||
|
||||
if ((KeyList)keyEvent.Scancode != _cycleOverlayKey)
|
||||
return;
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void CycleOverlay()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue