/*
  * Finds the Text object used to display instructions.
  * Find the TrackScore script.
  */
 private void Start()
 {
     transfer   = GameObject.FindGameObjectWithTag("Instruction").GetComponent <Text>();
     trackScore = GameObject.FindGameObjectWithTag("ScoreKeeper").GetComponent <TrackScore>();
 }
 void Start()
 {
     parent = GameObject.Find("GameTimer").GetComponent <TrackScore>();
 }
Beispiel #3
0
 void Start()
 {
     myHand = GetComponent <PlayerHand>();
     game   = GameObject.Find("GameTimer").GetComponent <TrackScore>();
     StartCoroutine(AIPlayCards());
 }