initial commit

This commit is contained in:
Sylvia 2026-06-04 04:40:36 -07:00
parent 8766216908
commit 23576e137e
1033 changed files with 499339 additions and 0 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;
}
}