推进度!
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace Continentis.MainGame.Card
|
||||
{
|
||||
public class IntentionCardViewMain : MonoBehaviour, IPointerExitHandler
|
||||
{
|
||||
public IntentionCardView intentionCardView;
|
||||
public CanvasGroup canvasGroup;
|
||||
|
||||
public void OnPointerExit(PointerEventData eventData)
|
||||
{
|
||||
this.canvasGroup.alpha = 0f;
|
||||
this.canvasGroup.blocksRaycasts = false;
|
||||
intentionCardView.intentionMark.canvasGroup.alpha = 1f;
|
||||
intentionCardView.intentionMark.canvasGroup.blocksRaycasts = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user