private void StartInvisible() { for (int i = 0; i < this.selectItemInfo.Count; i++) { TutorialSelectItem item = this.selectItemInfo[i].item; if (item.IsSettings) { item.IsSettings = false; BoxCollider component = item.GetComponent <BoxCollider>(); component.enabled = false; TweenAlpha component2 = item.GetComponent <TweenAlpha>(); component2.PlayReverse(); } } }
public void StartDisplay() { for (int i = 0; i < this.selectItemInfo.Count; i++) { TutorialSelectItem item = this.selectItemInfo[i].item; if (item.IsSettings) { TweenAlpha component = item.GetComponent <TweenAlpha>(); component.PlayForward(); } } }