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