Example #1
0
 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);
 }
Example #2
0
 protected void Awake()
 {
     singleton = this;
     cards     = new List <CardDisplay>();
 }
 protected void Awake()
 {
     singleton = this;
 }