/// <summary> /// Method for getting the card move field /// </summary> /// <param name="eventData"></param> void GetCardDrop(PointerEventData eventData) { cardDrop = eventData.pointerDrag.GetComponent <CardDrop>(); }
void Awake() { instance = this; }
void Awake() { cardDrop = GetComponent <CardDrop>(); }