chore: initial commit
This commit is contained in:
20
Assets/Scripts/Feedback/FeedbackConfigSO.cs
Normal file
20
Assets/Scripts/Feedback/FeedbackConfigSO.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BaseGames.Feedback
|
||||
{
|
||||
/// <summary>
|
||||
/// Feedback 系统全局配置:闪白颜色/时长等通用参数。
|
||||
/// 资产路径:Assets/ScriptableObjects/Feedback/FeedbackConfig.asset
|
||||
/// </summary>
|
||||
[CreateAssetMenu(menuName = "Feedback/FeedbackConfig")]
|
||||
public class FeedbackConfigSO : ScriptableObject
|
||||
{
|
||||
[Header("受伤闪白")]
|
||||
[Tooltip("Shader _FlashColor 参数目标颜色。")]
|
||||
public Color HurtFlashColor = Color.white;
|
||||
|
||||
[Tooltip("闪白持续时间(秒)。")]
|
||||
[Min(0.01f)]
|
||||
public float HurtFlashDuration = 0.12f;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user