public void AddLabelToCamera(TextMesh label) { label.transform.parent = labelPositioner; Vector3 newPos = new Vector3(-3f,-0.5376f*(_labels.Count),0.2f); _labels.Add(label); label.SendMessage("Reposition", newPos); //labelPositioner.position += _transform.up*0.5376f; if (_labels.Count == 1) { _currentLabel = 0; return; } //Rotate out the last one. if (_labels[_currentLabel] != null) { GameObject labelAtIssue = _labels[_currentLabel].gameObject; iTween.RotateTo(labelAtIssue,iTween.Hash("rotation",new Vector3(90f,0f,0f),"islocal",true,"time",1f,"oncomplete","RemoveLabel","oncompletetarget",this.gameObject,"oncompleteparams",labelAtIssue)); } _currentLabel++; ShiftLabelsUpward(); }