Implement hand menu features

This commit is contained in:
2024-09-07 20:42:45 +02:00
parent f690fb53c8
commit 3357191134
621 changed files with 410674 additions and 3861 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;
}
}