using System; using UnityEngine; using UnityEngine.UI; namespace EasyTalk.Display.Style { /// /// This class defines styling for an image component. /// [Serializable] public class ImageStyleSettings { /// /// Whether the image is enabled. /// [SerializeField] public bool enabled = true; /// /// The sprite to use. /// [SerializeField] public Sprite sprite; /// /// The color to use. /// [SerializeField][ColorUsage(true)] public Color color = Color.white; /// /// The display mode to use for the image. /// [SerializeField] public Image.Type imageType = Image.Type.Simple; /// /// The pixels per unit multiplier to use. /// [SerializeField] public float pixelsPerUnit = 1.0f; } }