// Use this for initialization void Start () { sol = GetComponent<ManagerSolucion> (); read = GetComponent<ReadScript> (); cargarJsonEscena(); }
// Use this for initialization void Start() { ms = GetComponent<ManagerSolucion>(); //Inicializo el target. textTarget = "m1"; AsignarJSON (); //jsonParsed = JSONNode.Parse (jsonFile.text); //jsonParsed = ms.docJson; chatCyborg = GameObject.Find ("ChatBubble1"); chatpersonaje = GameObject.Find ("ChatBubble2"); chatCyborgText = chatCyborg.GetComponentInChildren<Text>(); chatpersonajeText = chatpersonaje.GetComponentInChildren<Text> (); }