Skip to content

Commit

Permalink
Release 6.0.0 (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdill committed Jan 20, 2024
1 parent 70d8683 commit 5d23b5c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2018-2023 ChrisDill
Copyright (C) 2018-2024 ChrisDill

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ C# bindings for raylib, a simple and easy-to-use library to learn videogames pro

[![Build](https://github.com/ChrisDill/Raylib-cs/workflows/Build/badge.svg)](https://github.com/ChrisDill/Raylib-cs/actions?query=workflow%3ABuild)

Raylib-cs targets net5.0 and net6.0 and uses the [official 4.5.0 release](https://github.com/raysan5/raylib/releases/tag/4.5.0) to build the native libraries.
Raylib-cs targets net5.0 and net6.0 and uses the [official 5.0 release](https://github.com/raysan5/raylib/releases/tag/5.0) to build the native libraries.

## Installation - NuGet

Expand Down Expand Up @@ -43,7 +43,7 @@ the command won't work.

2. Add [Raylib-cs/Raylib-cs.csproj](Raylib-cs/Raylib-cs.csproj) to your project as an existing project.

3. Download the native libraries for the platforms you want to build for using the [official 4.5.0 release](https://github.com/raysan5/raylib/releases/tag/4.5.0).
3. Download the native libraries for the platforms you want to build for using the [official 5.0 release](https://github.com/raysan5/raylib/releases/tag/5.0).
**NOTE: the MSVC version is required for Windows platforms**

4. Setup the native libraries so they are in the same directory as the executable/can be found in the [search path](https://www.mono-project.com/docs/advanced/pinvoke/).
Expand All @@ -66,9 +66,9 @@ class Program
while (!Raylib.WindowShouldClose())
{
Raylib.BeginDrawing();
Raylib.ClearBackground(Color.WHITE);
Raylib.ClearBackground(Color.White);

Raylib.DrawText("Hello, world!", 12, 12, 20, Color.BLACK);
Raylib.DrawText("Hello, world!", 12, 12, 20, Color.Black);

Raylib.EndDrawing();
}
Expand Down
4 changes: 2 additions & 2 deletions Raylib-cs/Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetRaylibTag>5.0</TargetRaylibTag>
<Version>5.0.0</Version>
<PackageVersion>5.0.0</PackageVersion>
<Version>6.0.0</Version>
<PackageVersion>6.0.0</PackageVersion>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion Raylib-cs/interop/Raylib.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2532,7 +2532,7 @@ float radius2
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void SetMasterVolume(float volume);

/// <summary>Set master volume (listener)</summary>
/// <summary>Get master volume (listener)</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern float GetMasterVolume();

Expand Down

0 comments on commit 5d23b5c

Please sign in to comment.