Пример #1
0
 private void Activate()
 {
     gameObject.SetActive(true);
     arrows.SetActive(true);
     isDragging = false;
     panelDecline.Highlight(false);
     panelAccept.Highlight(false);
     textDecline.text           = card.GetComponent <EventBHV> ().actionDecline;
     textAccept.text            = card.GetComponent <EventBHV> ().actionAccept;
     panelCard.anchoredPosition = Vector2.zero;
     card.GetComponent <UI_StretchableElement> ().FitToParent(panelCard);
 }