Виртуальный курсор (для управления с геймпада)
This commit is contained in:
parent
d42bd00c3d
commit
bbb66a5273
12 changed files with 135 additions and 8 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using Godot;
|
||||
|
||||
public partial class Flashlight : Node
|
||||
|
@ -23,7 +24,7 @@ public partial class Flashlight : Node
|
|||
[Export] public Curve BrightnessCurve;
|
||||
|
||||
[Export] public AudioStreamPlayer CrankSoundPlayer;
|
||||
|
||||
|
||||
private float FlashlightRadius = Constants.MaxFlashlightRadius;
|
||||
private float FlashlightEnergy = 0;
|
||||
private float FlashlightChargeTimeout = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue