Beispiel #1
0
    // Use this for initialization

    void Awake()
    {
        manager    = GameObject.Find("GameManager").GetComponent <GameManager>();
        cardPickup = manager.pickCard;
        fill       = GameObject.Find("HandManager").GetComponent <FillHand>();
        golds      = GameObject.Find("GoldManager").GetComponent <GoldScript>();
    }
Beispiel #2
0
 // Use this for initialization
 void Awake()
 {
     manager         = GameObject.Find("GameManager").GetComponent <GameManager>();
     mainCamera      = GameObject.Find("Main Camera");
     secondaryCamera = GameObject.Find("Secondary Camera");
     secondaryCamera.SetActive(false);
     fill   = GameObject.Find("HandManager").GetComponent <FillHand>();
     attack = GameObject.Find("GameBoard").GetComponent <AttackScript>();
     golds  = GameObject.Find("GoldManager").GetComponent <GoldScript>();
 }
Beispiel #3
0
 void Awake()
 {
     fill = GameObject.Find("HandManager").GetComponent <FillHand>();
 }