void Start() { displayManager = GameObject.FindGameObjectWithTag("DisplayManager").GetComponent <DisplayManager>(); hhManager = GameObject.FindGameObjectWithTag("HighHandManager").GetComponent <HighHandManager>(); if (odometer != null) { StartCoroutine("StartThing"); } }
// Use this for initialization void Start() { inventory = GameObject.FindGameObjectWithTag("SilverCoinDeposit").transform; hhManager = GameObject.FindGameObjectWithTag("HighHandManager").GetComponent <HighHandManager>(); }