public void Clear() { CurDraggingCard = null; CurDragComponent = null; CurDraggingCardTrans = null; CurAreaAction = null; }
private void SetNewCard(Transform card, DragCardBase dragCard, CardModel model) { CurDraggingCardTrans = card; CurDraggingCard = card.GetComponent <ICard>(); CurDragComponent = dragCard; CurAreaAction = CurDragComponent.GetComponent <IAreaAction>(); CurDraggingCard.Init(model); SetCardRaycastState(false); InitCard(card); }