using UnityEngine; using UnityEngine.Events; namespace Game.Component { public class NoneCardShower : CardShower { [SerializeField] private UnityEvent onCardShow; [SerializeField] private UnityEvent onCardHide; public override void ShowCard () { this.gameObject.SetActive (true); this.onCardShow?.Invoke (); } public override void HideCard () { this.gameObject.SetActive (false); this.onCardHide?.Invoke (); } public UnityEvent OnCardShow => this.onCardShow; public UnityEvent OnCardHide => this.onCardHide; } }