public void ChangeDecoyStatus(SelectorStatus status) { _status = status; switch (_status) { case SelectorStatus.OK: renderer2D.sprite = sprOK; break; case SelectorStatus.Wrong: renderer2D.sprite = sprBad; break; } }
/// <summary> /// Load all symptoms for selected human body location /// </summary> /// <param name="locationId">Human body sublocation id</param> /// <param name="selectedSelectorStatus">Selector status (Man, Woman, Boy, Girl)</param> /// <returns>Returns list of all symptoms for selected human body location</returns> public List <HealthSymptomSelector> LoadSublocationSymptoms(int locationId, SelectorStatus selectedSelectorStatus) { string action = string.Format("symptoms/{0}/{1}", locationId, selectedSelectorStatus.ToString()); return(this.LoadFromWebService <List <HealthSymptomSelector> >(action)); }