25 lines
795 B
C#
25 lines
795 B
C#
using UnityEngine;
|
||
|
||
namespace BaseGames.Combat
|
||
{
|
||
/// <summary>
|
||
/// 拼刀系统参数配置(架构 06_CombatModule §15)。
|
||
/// 资产路径: Assets/ScriptableObjects/Config/Combat/ClashConfig.asset
|
||
/// </summary>
|
||
[CreateAssetMenu(menuName = "BaseGames/Combat/ClashConfig")]
|
||
public class ClashConfigSO : ScriptableObject
|
||
{
|
||
[Header("HitStop")]
|
||
[Tooltip("拼刀冻帧数(比普通命中的 2 帧更短)")]
|
||
public int ClashFreezeFrames = 1;
|
||
|
||
[Header("弹开")]
|
||
[Tooltip("拼刀弹开力度(Impulse 模式)")]
|
||
public float ClashKnockbackForce = 6.0f;
|
||
|
||
[Header("Camera Impulse")]
|
||
[Tooltip("Cinemachine Impulse 强度(轻微震感)")]
|
||
public float ClashImpulseStrength = 0.3f;
|
||
}
|
||
}
|