43 lines
1.6 KiB
C#
43 lines
1.6 KiB
C#
using UnityEngine;
|
|
|
|
namespace Unheimlich.Data.DetectiveBoard
|
|
{
|
|
/// <summary>
|
|
/// Configuration for detective board UI behavior and appearance.
|
|
/// Defines node visuals, connection rules, and interaction parameters.
|
|
/// </summary>
|
|
[CreateAssetMenu(fileName = "DetectiveBoardSettings", menuName = "Unheimlich/Detective Board/Board Settings")]
|
|
public class DetectiveBoardSettings : ScriptableObject
|
|
{
|
|
[Header("Node Visuals")]
|
|
[Tooltip("Default sprite for nodes (post-it/card)")]
|
|
public Sprite DefaultNodeSprite;
|
|
|
|
[Tooltip("Scale of node objects on the board")]
|
|
public float NodeScale = 1f;
|
|
|
|
[Tooltip("Spacing between nodes when auto-arranged")]
|
|
public float NodeSpacing = 0.5f;
|
|
|
|
[Header("Connection Visuals")]
|
|
[Tooltip("Line width for connections")]
|
|
public float ConnectionLineWidth = 0.05f;
|
|
|
|
[Tooltip("Color for confirmed connections")]
|
|
public Color ConfirmedConnectionColor = Color.green;
|
|
|
|
[Tooltip("Color for uncertain connections")]
|
|
public Color UncertainConnectionColor = Color.yellow;
|
|
|
|
[Tooltip("Color for eliminated connections")]
|
|
public Color EliminatedConnectionColor = Color.red;
|
|
|
|
[Header("Interaction")]
|
|
[Tooltip("Distance at which nodes can be interacted with")]
|
|
public float InteractionRange = 2f;
|
|
|
|
[Tooltip("Highlight color when hovering over a node")]
|
|
public Color HoverHighlightColor = new Color(1f, 1f, 0.5f, 1f);
|
|
}
|
|
}
|