Skip to content

Commit d586110

Browse files
Update README.md and version prefix
1 parent 52ba401 commit d586110

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
1919
using Flecs.NET.Core;
2020

21-
using World ecs = World.Create();
21+
using World world = World.Create();
2222

23-
Entity entity = ecs.Entity()
23+
Entity entity = world.Entity()
2424
.Set(new Position(10, 20))
2525
.Set(new Velocity(1, 2));
2626

27-
ecs.Each((ref Position p, ref Velocity v) =>
27+
world.Each(static (ref Position p, ref Velocity v) =>
2828
{
2929
p.X += v.X;
3030
p.Y += v.Y;
@@ -36,7 +36,7 @@ public record struct Velocity(float X, float Y);
3636

3737
## Overview
3838
**Flecs.NET - High-level C# port of the C++ wrapper**
39-
- Modern .NET 8
39+
- Modern .NET 9
4040
- Near feature parity with the C++ API
4141
- Struct-based API with minimal GC interaction
4242
- Supports both unmanaged and managed types as components
@@ -75,7 +75,7 @@ To include both of them in your project based on your build configuration, use t
7575
<Project Sdk="Microsoft.NET.Sdk">
7676
<PropertyGroup>
7777
<OutputType>Exe</OutputType>
78-
<TargetFramework>net8.0</TargetFramework>
78+
<TargetFramework>net9.0</TargetFramework>
7979
</PropertyGroup>
8080

8181
<ItemGroup>
@@ -119,7 +119,7 @@ dotnet add PROJECT package Flecs.NET.Release --version *-build.*
119119
<Project Sdk="Microsoft.NET.Sdk">
120120
<PropertyGroup>
121121
<OutputType>Exe</OutputType>
122-
<TargetFramework>net8.0</TargetFramework>
122+
<TargetFramework>net9.0</TargetFramework>
123123
</PropertyGroup>
124124

125125
<ItemGroup>
@@ -178,7 +178,7 @@ Reference the project and import the native libraries. You should now be able to
178178
<Project Sdk="Microsoft.NET.Sdk">
179179
<PropertyGroup>
180180
<OutputType>Exe</OutputType>
181-
<TargetFramework>net8.0</TargetFramework>
181+
<TargetFramework>net9.0</TargetFramework>
182182
</PropertyGroup>
183183

184184
<ItemGroup>

src/Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionPrefix>4.0.3</VersionPrefix>
3+
<VersionPrefix>4.0.4</VersionPrefix>
44
<Authors>BeanCheeseBurrito</Authors>
55
<Copyright>BeanCheeseBurrito</Copyright>
66
<PackageProjectUrl>https://github.com/BeanCheeseBurrito/Flecs.NET</PackageProjectUrl>

0 commit comments

Comments
 (0)