public void setInputFieldText(string text) { // Debug.Log ( text ); textChanger.setText(textMeshId, text); textChanger.setEditing(false); //photonView.RPC( "setInputFieldTextRPC" , PhotonTargets.All , text ); Destroy(gameObject); }