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