修改细节
This commit is contained in:
1 parent
952e5038ed
commit
abf913b467
12 files changed
+198
-79
No files matched your search
@@ -40,6 +40,14 @@ public class RaceHomeScript : RaceScript
|
||||
{
|
||||
goLeft();
|
||||
});
|
||||
UIManager.AddEvent(L.gameObject, UnityEngine.EventSystems.EventTriggerType.PointerEnter, (b) =>
|
||||
{
|
||||
L.transform.DOScale(1.1f, 0.2f);
|
||||
});
|
||||
UIManager.AddEvent(L.gameObject, UnityEngine.EventSystems.EventTriggerType.PointerExit, (b) =>
|
||||
{
|
||||
L.transform.DOScale(1f, 0.2f);
|
||||
});
|
||||
}
|
||||
if (R != null)
|
||||
{
|
||||
@@ -47,6 +55,14 @@ public class RaceHomeScript : RaceScript
|
||||
{
|
||||
goRight();
|
||||
});
|
||||
UIManager.AddEvent(R.gameObject, UnityEngine.EventSystems.EventTriggerType.PointerEnter, (b) =>
|
||||
{
|
||||
R.transform.DOScale(1.1f, 0.2f);
|
||||
});
|
||||
UIManager.AddEvent(R.gameObject, UnityEngine.EventSystems.EventTriggerType.PointerExit, (b) =>
|
||||
{
|
||||
R.transform.DOScale(1f, 0.2f);
|
||||
});
|
||||
}
|
||||
StartTime();
|
||||
rightContainer = transform.Find("RightContainer");
|
||||
|
||||
Reference in new issue
Block a user