// Use this for initialization void Start() { uiController = GameObject.FindGameObjectWithTag("GameController").GetComponent <UIControllerM> (); }
// -------------- Inherited from MonoBehavior ---------------------------- // void Awake() { uiController = GetComponent <UIControllerM> (); }