void Start() { GameObject st = GameObject.Find ("state"); state=st.GetComponent("GUIText") as GUIText; communicator=GameObject.Find("Communicator"); comm = communicator.GetComponent ("CommunicationCotroler") as CommunicationCotroler; }
void Start() { GameObject st = GameObject.Find("state"); state = st.GetComponent("GUIText") as GUIText; communicator = GameObject.Find("Communicator"); comm = communicator.GetComponent("CommunicationCotroler") as CommunicationCotroler; }