internal static Texture2D ChooseTexture(SpeedValue?speedlimit,
                                         RoadSignThemes.RoadSignTheme theme)
 {
     return(speedlimit.HasValue
                ? theme.GetTexture(speedlimit.Value)
                : RoadSignThemes.Instance.NoOverride);
 }
        /// <summary>Draw large rect with the speed value or unlimited.</summary>
        /// <param name="speedlimit">Show this speed.</param>
        public void DrawLargeTexture(SpeedValue?speedlimit,
                                     RoadSignThemes.RoadSignTheme theme)
        {
            Texture2D tex = speedlimit.HasValue
                                ? theme.GetTexture(speedlimit.Value)
                                : RoadSignThemes.Instance.NoOverride;

            GUI.DrawTexture(
                position: this.screenRect_,
                image: tex);
        }