Add defaults

This commit is contained in:
Noah Pilarski 2022-11-25 16:35:36 -05:00
parent 4742139408
commit c4a256bd20

View File

@ -77,6 +77,7 @@ namespace NewHorizons.External.Modules
/// <summary> /// <summary>
/// The radius of this volume. /// The radius of this volume.
/// </summary> /// </summary>
[DefaultValue(1f)]
public float radius = 1f; public float radius = 1f;
/// <summary> /// <summary>
@ -133,11 +134,13 @@ namespace NewHorizons.External.Modules
/// <summary> /// <summary>
/// The max view angle (in degrees) the player can see the volume with to unlock the fact (`observe` only) /// The max view angle (in degrees) the player can see the volume with to unlock the fact (`observe` only)
/// </summary> /// </summary>
[DefaultValue(180f)]
public float maxAngle = 180f; // Observe Only public float maxAngle = 180f; // Observe Only
/// <summary> /// <summary>
/// The max distance the user can be away from the volume to reveal the fact (`snapshot` and `observe` only) /// The max distance the user can be away from the volume to reveal the fact (`snapshot` and `observe` only)
/// </summary> /// </summary>
[DefaultValue(-1f)]
public float maxDistance = -1f; // Snapshot & Observe Only public float maxDistance = -1f; // Snapshot & Observe Only
/// <summary> /// <summary>