Skip to content

Commit

Permalink
Final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
scrim-dev committed Dec 7, 2024
1 parent 0e966b7 commit d96eb99
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CatalyssMod/CatalyssMod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<Authors>Scrimmane</Authors>
<Company>Scrimmane</Company>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<FileVersion>0.0.0.0</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
6 changes: 6 additions & 0 deletions CatalyssMod/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ public static void DropNewItem(string itemname, int amount)
catch { return; }
}

public static void Test(float jumpforce, float forwardforce, float gravmultiplier)
{
try { GetPlayer().GetComponentInChildren<PlayerMove>().Init_Jump(jumpforce, forwardforce, gravmultiplier); }
catch { return; }
}

private void OnGUI() { GUI.Label(new Rect(15, 10, 2000, 30), $"{Application.unityVersion}"); }
}
}

0 comments on commit d96eb99

Please sign in to comment.