23 lines
704 B
C#
23 lines
704 B
C#
![]() |
using UnityEngine;
|
||
|
using UnityEngine.InputSystem;
|
||
|
|
||
|
namespace DDD
|
||
|
{
|
||
|
[CreateAssetMenu(fileName = "RestaurantPlayerDataSo", menuName = "ScriptableObjects/RestaurantPlayerDataSo")]
|
||
|
public class RestaurantPlayerDataSo : ScriptableObject
|
||
|
{
|
||
|
public bool IsMoveEnabled = true;
|
||
|
public float MoveSpeed = 7f;
|
||
|
|
||
|
public bool IsDashEnabled = true;
|
||
|
public float DashSpeed = 20f;
|
||
|
public float DashTime = 0.2f;
|
||
|
public float DashCooldown = 2f;
|
||
|
|
||
|
public string WalkingSfxName;
|
||
|
public string DashSfxName;
|
||
|
|
||
|
public InputActionReference MoveActionReference;
|
||
|
public InputActionReference DashActionReference;
|
||
|
}
|
||
|
}
|