2025-07-14 05:11:22 +00:00
|
|
|
using UnityEngine;
|
|
|
|
using UnityEngine.InputSystem;
|
|
|
|
|
|
|
|
namespace DDD
|
|
|
|
{
|
|
|
|
[CreateAssetMenu(fileName = "RestaurantPlayerDataSo", menuName = "ScriptableObjects/RestaurantPlayerDataSo")]
|
|
|
|
public class RestaurantPlayerDataSo : ScriptableObject
|
|
|
|
{
|
2025-07-16 08:22:04 +00:00
|
|
|
public bool IsDrawLineDebug = true;
|
|
|
|
|
2025-07-14 05:11:22 +00:00
|
|
|
public bool IsMoveEnabled = true;
|
|
|
|
public float MoveSpeed = 7f;
|
2025-07-16 08:22:04 +00:00
|
|
|
public float Acceleration = 70f;
|
|
|
|
public float Deceleration = 350f;
|
2025-07-14 05:11:22 +00:00
|
|
|
|
|
|
|
public bool IsDashEnabled = true;
|
|
|
|
public float DashSpeed = 20f;
|
|
|
|
public float DashTime = 0.2f;
|
|
|
|
public float DashCooldown = 2f;
|
2025-07-16 08:22:04 +00:00
|
|
|
|
|
|
|
[Tooltip("슬라이딩이 적용되지 않는 충돌체 레이어 (Ground 등)")]
|
|
|
|
public LayerMask IgnoreSlidingLayerMask;
|
|
|
|
|
|
|
|
[Range(0f, 3f), Tooltip("슬라이딩 보정 제곱\n낮을수록 슬라이딩이 잘 됨")]
|
|
|
|
public float SlidingThreshold = 0.5f;
|
2025-07-14 05:11:22 +00:00
|
|
|
|
|
|
|
public string WalkingSfxName;
|
|
|
|
public string DashSfxName;
|
|
|
|
|
|
|
|
public InputActionReference MoveActionReference;
|
|
|
|
public InputActionReference DashActionReference;
|
|
|
|
}
|
|
|
|
}
|