比赛;编辑页面
This commit is contained in:
1 parent
85130ce6c3
commit
3ec6fd0569
56 files changed
+16371
-2749
No files matched your search
@@ -9,10 +9,12 @@ public class RaceMaskScript : MonoBehaviour, IPointerEnterHandler,IPointerExitHa
|
||||
public void OnPointerEnter(PointerEventData eventData)
|
||||
{
|
||||
transform.Find("Panel").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
||||
if (localY.HasValue)
|
||||
|
||||
if (!localY.HasValue)
|
||||
{
|
||||
transform.DOLocalMoveY(localY.Value + 5, 0.3f);
|
||||
localY = transform.localPosition.y;
|
||||
}
|
||||
transform.DOLocalMoveY(localY.Value + 5, 0.3f);
|
||||
}
|
||||
|
||||
public void OnPointerExit(PointerEventData eventData)
|
||||
|
||||
Reference in new issue
Block a user