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