public void SetTarget(DiseaseManager manager, GameObject target, int value) { this.manager = manager; manager.AddVisited(target); this.target = target; this.value = value; Debug.Log(value); origin = transform.position; start = Time.time; }