1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-20 13:53:13 +00:00

fixed wiggle, just made effect non required param lol

This commit is contained in:
Cameron Taylor 2022-03-07 20:25:00 -05:00
parent 3df79597b1
commit 7f9cd6824c

View file

@ -20,7 +20,7 @@ class WiggleEffect
public var waveFrequency(default, set):Float = 0;
public var waveAmplitude(default, set):Float = 0;
public function new(speed:Float, freq:Float, amplitude:Float, effect:WiggleEffectType = DREAMY):Void
public function new(speed:Float, freq:Float, amplitude:Float, ?effect:WiggleEffectType = DREAMY):Void
{
shader.uTime.value = [0];
this.waveSpeed = speed;