public void OnPointerEnter(PointerEventData eventData) { _animation.PlayAnimation(); if (OnCardEnter != null) { OnCardEnter(); } }
private void ExecutePointerEnter() { if (OnPointerEnterBehaviour.Enabled) { OnPointerEnterBehaviour.PlayAnimation(this); } }
public void PlayAnimation(AnimatedElements type) { UIAnimation anim = GetAnimationByType(type); if (anim != null) { anim.PlayAnimation(); } }