using System.Collections; using System.Collections.Generic; using UnityEngine; // Shapes © Freya Holmér - https://twitter.com/FreyaHolmer/ // Website & Documentation - https://acegikmo.com/shapes/ namespace Shapes { /// An interface for dashable shapes public interface IDashable { /// Whether or not dash spacing should be auto-set to equal the dash size bool MatchDashSpacingToSize { get; set; } /// Whether or not this shape should be dashed bool Dashed { get; set; } /// Size of dashes in the specified dash space. When using DashSpace.FixedCount, this is the number of dashes float DashSize { get; set; } /// Size of spacing between each dash, in the specified dash space. When using DashSpace.FixedCount, this is the dash:space ratio float DashSpacing { get; set; } /// Offset for dashes. An offset of 1 is the size of a whole dash+space period float DashOffset { get; set; } /// The space in which dashes are defined DashSpace DashSpace { get; set; } /// What snapping type to use for dashed shapes DashSnapping DashSnap { get; set; } /// What dash type to use when dashed shapes DashType DashType { get; set; } /// A -1 to 1 modifier that allows you to tweak or mirror certain dash types float DashShapeModifier { get; set; } } }