public void getPhoto() { if (photoUrl != null) { SalesforceClient client = GameObject.FindGameObjectWithTag("Salesforce").GetComponent <SalesforceClient>(); client.getChatterPhoto(photoUrl, this); } }