// Use this for initialization void Start() { // Initialization of photon inter = (GameObject.Find ("/UI/Window")).GetComponent<Interference> (); PhotonNetwork.ConnectUsingSettings ("0.1"); caution = (GameObject.Find ("/UI/Caution/CautionMark")).GetComponent<CautionManager> (); selectedName = CharacterSelect.SelectedCharacter.Name; }