private void UpdateIcons() { for (int i = 0; i < this.partObjs.Count; i++) { GUIMonsterIcon guimonsterIcon = (GUIMonsterIcon)this.partObjs[i]; if (guimonsterIcon.gameObject.activeSelf) { if (guimonsterIcon.SortMess != string.Empty && guimonsterIcon.LevelMess != string.Empty) { if (this.valueA > 0f) { guimonsterIcon.LevelMessAlpha(this.valueA); guimonsterIcon.SortMessAlpha(0f); } else { guimonsterIcon.LevelMessAlpha(0f); guimonsterIcon.SortMessAlpha(-this.valueA); } } else { guimonsterIcon.LevelMessAlpha(1f); guimonsterIcon.SortMessAlpha(1f); } } } }