// 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>(); }
// 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>(); }
void Awake() { fill = GameObject.Find("HandManager").GetComponent <FillHand>(); }