adding in some needed packages

This commit is contained in:
reisenlol 2026-01-02 01:31:54 -08:00
parent 9e739f5dc8
commit aba5310742
No known key found for this signature in database
1012 changed files with 494191 additions and 1 deletions

View file

@ -0,0 +1,34 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DamageNumbersPro
{
[System.Serializable]
public struct DistanceScalingSettings
{
public DistanceScalingSettings (float customDefault)
{
baseDistance = 15f;
closeDistance = 5f;
farDistance = 50f;
closeScale = 2f;
farScale = 0.5f;
}
[Header("Distances:")]
[Tooltip("The consistent size of the number is based on this distance.")]
public float baseDistance;
[Tooltip("The closest distance the number will be scaling up to.")]
public float closeDistance;
[Tooltip("The farthest distance the number will be scaling down to.")]
public float farDistance;
[Header("Scales:")]
[Tooltip("The max scale the number reaches at the closest distance.")]
public float closeScale;
[Tooltip("The min scale the number reaches at the farthest distance.")]
public float farScale;
}
}