// Start is called before the first frame update void Awake() { cardDisplay = this.gameObject.GetComponent <CardDisplay>(); cardEffects = this.gameObject.GetComponent <CardEffectsController>(); cardDrag = this.gameObject.GetComponent <CardDragController>(); }
// Start is called before the first frame update void Awake() { cardDisplay = GetComponent <CardDisplay>(); cardEffects = GetComponent <CardEffectsController>(); cardDrag = GetComponent <CardDragController>(); }