修改样式,增加图片
This commit is contained in:
1 parent
fe65b83c89
commit
b86cb01ea2
13 files changed
+332
-48
No files matched your search
@@ -8,7 +8,6 @@ public class BigLeftController : MonoBehaviour
|
||||
{
|
||||
public void OnPointerClick()
|
||||
{
|
||||
Debug.Log(11);
|
||||
RouteItem route = transform.parent.GetComponent<RouteItem>();
|
||||
if (route.enter)
|
||||
{
|
||||
|
||||
@@ -283,6 +283,10 @@ public class RouteItem : MonoBehaviour
|
||||
row1.Find("Times").GetComponent<Text>().color = Utils.HexToColorHtml("#9E9EAD");
|
||||
row1.Find("Rank").GetComponent<Text>().color = Utils.HexToColorHtml("#9E9EAD");
|
||||
}
|
||||
if (row2 != null)
|
||||
{
|
||||
row2.Find("Device").GetComponent<Text>().color = Utils.HexToColorHtml("#9E9EAD");
|
||||
}
|
||||
titleColor = "#414251";
|
||||
SetButtonColor(false);
|
||||
Cursor.SetCursor(null, Vector2.zero, CursorMode.Auto);
|
||||
@@ -311,6 +315,10 @@ public class RouteItem : MonoBehaviour
|
||||
row1.Find("Times").GetComponent<Text>().color = Utils.HexToColorHtml("#ffffff");
|
||||
row1.Find("Rank").GetComponent<Text>().color = Utils.HexToColorHtml("#ffffff");
|
||||
}
|
||||
if (row2 != null)
|
||||
{
|
||||
row2.Find("Device").GetComponent<Text>().color = Utils.HexToColorHtml("#ffffff");
|
||||
}
|
||||
titleColor = "#5c5c6e";
|
||||
SetButtonColor(true);
|
||||
Cursor.SetCursor(Resources.Load<Texture2D>("Images/PointerButtonHover"), Vector2.zero, CursorMode.Auto);
|
||||
|
||||
Reference in new issue
Block a user