mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-20 01:46:21 +00:00
Revert ToHtmlStringRGBA to the old one for compatibility reasons
This commit is contained in:
1 file changed
+1
-1
@@ -51,7 +51,7 @@ namespace Reactor.Extensions
|
||||
/// <remarks>https://docs.unity3d.com/ScriptReference/ColorUtility.ToHtmlStringRGBA.html</remarks>
|
||||
public static string ToHtmlStringRGBA(this Color32 color)
|
||||
{
|
||||
return ColorUtility.ToHtmlStringRGBA(color);
|
||||
return $"{color.r:X2}{color.g:X2}{color.b:X2}{color.a:X2}";
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ToHtmlStringRGBA(UnityEngine.Color32)"/>
|
||||
|
||||
Reference in new issue
Block a user