// Use this for initialization void Start() { Construct = GameObject.Find("ConstructPanel").GetComponent<ConstructDeck>(); this.GetComponent<Card>().Count = 3; }
// Use this for initialization void Start() { Construct = GameObject.Find("ConstructPanel").GetComponent <ConstructDeck>(); this.GetComponent <Card>().Count = 3; }