登录页调整 增加半圆角组件 基本完成路线列表功能 基本完成骑行列表 开始做编辑页
This commit is contained in:
1 parent
5156473bb2
commit
10e738f958
100 files changed
+20085
-11852
No files matched your search
@@ -91,5 +91,10 @@ namespace Assets.Scripts
|
||||
byte b = byte.Parse(hex.Substring(4, 2), NumberStyles.HexNumber);
|
||||
return new Color32(r, g, b, byte.MaxValue);
|
||||
}
|
||||
public static Color HexToColorHtml(string hex)
|
||||
{
|
||||
ColorUtility.TryParseHtmlString(hex, out Color c);
|
||||
return c;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user