void Awake() { gvc = GetComponentInChildren <GraphicValuesController> (); heatmap = FindObjectOfType <Heatmap> (); HeatmapActive = false; //Persistencia de IP y Puerto //ipText.text = PlayerPrefs.GetString("IP"); //portText.text = PlayerPrefs.GetString("Port"); try{ dataObjectUI = FindObjectOfType <DataObject>().gameObject; }catch { throw new System.IndexOutOfRangeException("No hay ningún DataObject en la escena!"); } }
// Use this for initialization void Start() { gvc = GetComponentInParent <UIController> ().gvc; dataValue = GetComponentInChildren <Text> (); }