Changed LangVersion back to avoid export issues and removed experimental language features.
Release / Export Game (push) Successful in 2m0s
Release / Export Game (push) Successful in 2m0s
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net9.0</TargetFramework>
|
||||
<LangVersion>preview</LangVersion>
|
||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -11,9 +11,9 @@ public partial class PlayerPhysicsController : CharacterBody2D {
|
||||
public float WalkSpeed { get; set; } = 3f;
|
||||
|
||||
[Export]
|
||||
public float JumpHeight { get; set { field = value; RecalculateLv(); } } = 5.5f;
|
||||
public float JumpHeight { get; set; } = 5.5f;
|
||||
|
||||
private float PeakTime { get; set { field = value; RecalculateLv(); } } = 0.1f;
|
||||
private float PeakTime { get; set; } = 0.1f;
|
||||
|
||||
[Export]
|
||||
public Label DebugTextLabel { get; set; }
|
||||
@@ -22,7 +22,7 @@ public partial class PlayerPhysicsController : CharacterBody2D {
|
||||
public AnimatedSprite2D Sprite { get; set; }
|
||||
|
||||
[Export]
|
||||
public float Gravity { get; set { field = value; RecalculateLv(); } } = 30f;
|
||||
public float Gravity { get; set; } = 30f;
|
||||
|
||||
[Export]
|
||||
public float UnitToPx { get; set; } = 32;
|
||||
|
||||
Reference in New Issue
Block a user