using System; using System.Collections; using DarkTonic.MasterAudio; using TMPro; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.InputSystem; using UnityEngine.UI; // Token: 0x020000E0 RID: 224 public class UITriggerButton : MonoBehaviour { // Token: 0x060014C4 RID: 5316 RVA: 0x0019162C File Offset: 0x0018F82C private void Awake() { if (this.isSlider) { this.slider = base.gameObject.GetComponent(); this.colors = this.slider.colors; this.selectedColor = this.colors.selectedColor; this.normalColor = this.colors.normalColor; this.go = this.slider.gameObject; if (!this.rt) { this.rt = base.gameObject.GetComponent(); } } else if (this.isScrollBar) { this.scrollbar = base.gameObject.GetComponent(); this.colors = this.scrollbar.colors; this.selectedColor = this.colors.selectedColor; this.normalColor = this.colors.normalColor; this.go = this.scrollbar.gameObject; if (!this.rt) { this.rt = base.gameObject.GetComponent(); } } else if (this.isToggle) { this.toggle = base.gameObject.GetComponent(); this.colors = this.toggle.colors; this.selectedColor = this.colors.selectedColor; this.normalColor = this.colors.normalColor; this.go = this.toggle.gameObject; if (!this.rt) { this.rt = base.gameObject.GetComponent(); } } else if (this.isInputField) { this.inputField = base.gameObject.GetComponent(); if (this.inputField) { this.go = this.inputField.gameObject; this.colors = this.inputField.colors; this.selectedColor = this.colors.selectedColor; this.normalColor = this.colors.normalColor; } this.inputField2 = base.gameObject.GetComponent(); if (this.inputField2) { this.go = this.inputField2.gameObject; this.colors = this.inputField2.colors; this.selectedColor = this.colors.selectedColor; this.normalColor = this.colors.normalColor; } if (!this.rt) { this.rt = base.gameObject.GetComponent(); } } else { this.btn = base.gameObject.GetComponent