Implement hand menu features
This commit is contained in:
21
Assets/DamageNumbersPro/Scripts/Settings/FollowSettings.cs
Normal file
21
Assets/DamageNumbersPro/Scripts/Settings/FollowSettings.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace DamageNumbersPro
|
||||
{
|
||||
[System.Serializable]
|
||||
public struct FollowSettings
|
||||
{
|
||||
public FollowSettings(float customDefault)
|
||||
{
|
||||
speed = 10;
|
||||
drag = 0f;
|
||||
}
|
||||
|
||||
[Tooltip("Speed at which target is followed.")]
|
||||
public float speed;
|
||||
[Tooltip("Decreases follow speed over time.")]
|
||||
public float drag;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user