fixed resources constructors
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 24s
Create tag and build when new code gets to main / Export (push) Successful in 15m37s

This commit is contained in:
2026-01-21 10:13:00 +01:00
parent 494f0cb9ca
commit fa029b9e53
12 changed files with 83 additions and 72 deletions

View File

@@ -6,12 +6,9 @@ using Movementtests.interfaces;
public partial class RKnockback : Resource
{
[Export]
public float Modifier = 1.0f;
public float Modifier { get; set;}
public RKnockback()
{
Modifier = 1.0f;
}
public RKnockback() : this(1.0f) {}
public RKnockback(float modifier)
{
Modifier = modifier;