It was double for a reason my bad

This commit is contained in:
xen-42 2025-01-05 22:15:12 -05:00
parent 664eb0f2dd
commit 1e9e3d832c

View File

@ -20,7 +20,7 @@ namespace NewHorizons.External.Modules
/// <summary> /// <summary>
/// Lowest distance from the planet asteroids can spawn /// Lowest distance from the planet asteroids can spawn
/// </summary> /// </summary>
[Range(0f, float.MaxValue)] public float innerRadius; [Range(0f, double.MaxValue)] public float innerRadius;
/// <summary> /// <summary>
/// Angle defining the point where the belt rises up from the planet's equatorial plane if inclination is nonzero. /// Angle defining the point where the belt rises up from the planet's equatorial plane if inclination is nonzero.
@ -30,19 +30,19 @@ namespace NewHorizons.External.Modules
/// <summary> /// <summary>
/// Maximum size of the asteroids. /// Maximum size of the asteroids.
/// </summary> /// </summary>
[Range(0f, float.MaxValue)] [DefaultValue(50)] [Range(0f, double.MaxValue)] [DefaultValue(50)]
public float maxSize = 50f; public float maxSize = 50f;
/// <summary> /// <summary>
/// Minimum size of the asteroids. /// Minimum size of the asteroids.
/// </summary> /// </summary>
[Range(0f, float.MaxValue)] [DefaultValue(20)] [Range(0f, double.MaxValue)] [DefaultValue(20)]
public float minSize = 20; public float minSize = 20;
/// <summary> /// <summary>
/// Greatest distance from the planet asteroids can spawn /// Greatest distance from the planet asteroids can spawn
/// </summary> /// </summary>
[Range(0f, float.MaxValue)] public float outerRadius; [Range(0f, double.MaxValue)] public float outerRadius;
/// <summary> /// <summary>
/// How the asteroids are generated, unless you supply a detail yourself using "assetBundle" and "path" /// How the asteroids are generated, unless you supply a detail yourself using "assetBundle" and "path"
@ -69,7 +69,7 @@ namespace NewHorizons.External.Modules
/// <summary> /// <summary>
/// Surface gravity of the asteroids. /// Surface gravity of the asteroids.
/// </summary> /// </summary>
[Range(0f, float.MaxValue)] [Range(0f, double.MaxValue)]
[DefaultValue(1)] [DefaultValue(1)]
public float gravity = 1f; public float gravity = 1f;