Color32Ext.TryParse Method
Tries to parse a Color32 from an HTML string (#RRGGBB or #RRGGBBAA).
Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static bool TryParse(
string html,
out Color32 result
)
Parameters
- html
- Type: System.String
Source HTML string - result
- Type: Color32
Parsed color or the default color value if there was an error
Return Value
Type: Boolean
Whether the color was parsed successfully
See Also
Reference
Color32Ext Class
UltimateXR.Extensions.Unity.Render Namespace