// Token: 0x06001A5B RID: 6747 RVA: 0x00101EEA File Offset: 0x001000EA private void Start() { if (PlayerGlobals.GetShrineCollectible(this.ID)) { UnityEngine.Object.Destroy(base.gameObject); } }
private void Start() { this.UpdateText(this.GetCurrentIndex()); for (int i = 1; i < 11; i++) { if (PlayerGlobals.GetShrineCollectible(i)) { this.Collectibles[i].SetActive(true); } } }
private void UpdateText(int newIndex) { if (newIndex == -1) { newIndex = 10; } if (newIndex == 0) { this.NameLabel.text = this.Names[newIndex]; this.DescLabel.text = this.Descs[newIndex]; return; } if (PlayerGlobals.GetShrineCollectible(newIndex)) { this.NameLabel.text = this.Names[newIndex]; this.DescLabel.text = this.Descs[newIndex]; return; } this.NameLabel.text = "???"; this.DescLabel.text = "I'd like to find something that Senpai touched and keep it here..."; }