// Use this for initialization void Start() { health_text.text = "Health: " + health_value.ToString(); if (is_person && GameObject.FindWithTag("Not_Destroyed")) { if (SceneManager.GetActiveScene().name == "Tutorial_Board") { our_cards = gameObject.GetComponent <card_library>(); } else { our_cards = GameObject.FindWithTag("Not_Destroyed").GetComponent <deck_holder>().the_deck; } } else { our_cards = gameObject.GetComponent <card_library>(); } for (int counter = 0; counter < starting_hand_size; counter++) { draw_card(false); } }
// Use this for initialization void Start() { spawnable_cards = gameObject.GetComponent <card_library>(); draft_cam = Camera.main; time_text.text = draft_time.ToString("#0.0") + " Seconds Remaining!"; }
// Use this for initialization void Start() { the_deck = gameObject.GetComponent <card_library>(); deck_size.text = the_deck.master_card_list.Count.ToString() + " Cards"; }