Skip to content

Commit

Permalink
fix(StinkySteak): Cannot use shortened new() in older Unity
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGadget1024 committed Dec 5, 2023
1 parent b6f86ac commit d477189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public struct SinMoveYWrapper : IMoveWrapper

public static SinMoveYWrapper CreateDefault()
{
SinMoveYWrapper wrapper = new();
SinMoveYWrapper wrapper = new SinMoveYWrapper();
wrapper._minSpeed = 0.5f;
wrapper._maxSpeed = 1f;
wrapper._minAmplitude = 0.5f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public struct SinRandomMoveWrapper : IMoveWrapper

public static SinRandomMoveWrapper CreateDefault()
{
SinRandomMoveWrapper wrapper = new();
SinRandomMoveWrapper wrapper = new SinRandomMoveWrapper();
wrapper._minSpeed = 1f;
wrapper._maxSpeed = 1f;
wrapper._amplitude = 1f;
Expand Down

0 comments on commit d477189

Please sign in to comment.