using System; using System.Collections.Generic; using UnityEngine; namespace EasyTalk.Display.Style { /// /// This class allows styling to be defined for an option display's components. /// [Serializable] public class OptionDisplayStyle { /// /// A List of image styles to use for option display images. /// [Header("Option Image Settings")] [SerializeField] public List optionPanelImageStyles = new List(); /// /// The style to apply to the option panel's buttons. /// [Header("Option Button Settings")] [SerializeField] public OptionButtonStyle optionButtonStyle = new OptionButtonStyle(); /// /// Styling to use for directional option displays. /// [Header("Directional Element Settings")] [SerializeField] public DirectionalOptionDisplayStyle directionalStyle = new DirectionalOptionDisplayStyle(); } /// /// This class defines styling for option panel dialogue button components. /// [Serializable] public class OptionButtonStyle { /// /// The style to use on the button's image. /// [SerializeField] public ImageStyleSettings imageStyleSettings = new ImageStyleSettings(); /// /// The style to use on the button. /// [SerializeField] public ButtonStyleSettings buttonStyleSettings = new ButtonStyleSettings(); /// /// The style to use on the button's text. /// [SerializeField] public TextStyleSettings textStyleSettings = new TextStyleSettings(); /// /// The sound to use when hovered over. /// [SerializeField] public AudioClip hoverSound; } }