Rename interactRange to range

This commit is contained in:
Ben C 2022-06-19 16:54:09 -04:00
parent 45c80d3cf5
commit c12898bec3
No known key found for this signature in database
GPG Key ID: 7F8F04504B670474
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ namespace NewHorizons.Builder.Props
var owCollider = conversationZone.AddComponent<OWCollider>();
var interact = conversationZone.AddComponent<InteractReceiver>();
interact._interactRange = info.interactRange;
interact._interactRange = info.range;
if (info.radius <= 0)
{

View File

@ -335,7 +335,7 @@ namespace NewHorizons.External.Modules
/// <summary>
/// Distance from radius the prompt appears
/// </summary>
[DefaultValue(2f)] public float interactRange = 2f;
[DefaultValue(2f)] public float range = 2f;
/// <summary>
/// The radius of the remote trigger volume.