UnityEngine.ColorUtility.DoTryParseHtmlColor C# (CSharp) Method

DoTryParseHtmlColor() private method

private DoTryParseHtmlColor ( string htmlString, Color32 &color ) : bool
htmlString string
color Color32
return bool
        internal static extern bool DoTryParseHtmlColor(string htmlString, out Color32 color);
        /// <summary>

Usage Example

コード例 #1
0
        public static bool TryParseHtmlString(string htmlString, out Color color)
        {
            Color32 color1;
            bool    htmlColor = ColorUtility.DoTryParseHtmlColor(htmlString, out color1);

            color = (Color)color1;
            return(htmlColor);
        }
All Usage Examples Of UnityEngine.ColorUtility::DoTryParseHtmlColor