void Start() { deckFill = GameObject.FindGameObjectWithTag("Deck"); scale = transform.localScale; isSelected = false; sendButton = sendButon.GetComponent <SendButton2>(); cardIndexToAdd = GetComponent <CardInformation>(); checkCombination = deckFill.GetComponent <CheckCombinations>(); }
void Start() { sendButton = sendButtonG.GetComponent <SendButton2>(); //Debug.Log(cardIndexSelected); }