void Awake() { table = GameObject.Find("Table").GetComponent <Table>(); parent = GameObject.Find("MainParentObj"); deck = GameObject.Find("Deck").GetComponent <Deck>(); hdz = this.GetComponent <HandDropZone>(); tdz = this.GetComponent <TableDropZone>(); gameObject.transform.SetParent(parent.transform); }
protected void Awake() { singleton = this; cards = new List <CardDisplay>(); }
protected void Awake() { singleton = this; }