using System; using System.Collections; using UnityEngine; using UnityEngine.UI; // Token: 0x02000003 RID: 3 public class GUIAnimSystemFREE : MonoBehaviour { // Token: 0x17000001 RID: 1 // (get) Token: 0x06000042 RID: 66 RVA: 0x000063AC File Offset: 0x000045AC // (set) Token: 0x06000043 RID: 67 RVA: 0x000063E6 File Offset: 0x000045E6 public static GUIAnimSystemFREE Instance { get { if (GUIAnimSystemFREE.instance == null) { GUIAnimSystemFREE.instance = global::UnityEngine.Object.FindObjectOfType(); if (GUIAnimSystemFREE.instance != null) { global::UnityEngine.Object.DontDestroyOnLoad(GUIAnimSystemFREE.instance.gameObject); } } return GUIAnimSystemFREE.instance; } set { GUIAnimSystemFREE.instance = GUIAnimSystemFREE.Instance; if (GUIAnimSystemFREE.instance != null) { global::UnityEngine.Object.DontDestroyOnLoad(GUIAnimSystemFREE.instance.gameObject); } } } // Token: 0x06000044 RID: 68 RVA: 0x0000640E File Offset: 0x0000460E public GUIAnimSystemFREE GetInstance() { return GUIAnimSystemFREE.instance; } // Token: 0x06000045 RID: 69 RVA: 0x00006415 File Offset: 0x00004615 private void Awake() { if (GUIAnimSystemFREE.instance == null) { GUIAnimSystemFREE.instance = this; global::UnityEngine.Object.DontDestroyOnLoad(this); return; } if (this != GUIAnimSystemFREE.instance) { global::UnityEngine.Object.Destroy(base.gameObject); } } // Token: 0x06000046 RID: 70 RVA: 0x0000230F File Offset: 0x0000050F private void Start() { } // Token: 0x06000047 RID: 71 RVA: 0x00006449 File Offset: 0x00004649 private void Update() { if (this.m_SetShowFreeVersion && this.m_ShowFreeVersionText > 0f) { this.m_ShowFreeVersionText -= Time.deltaTime; } } // Token: 0x06000048 RID: 72 RVA: 0x00006472 File Offset: 0x00004672 private void OnGUI() { if (this.m_SetShowFreeVersion && this.m_ShowFreeVersionText > 0f) { this.ShowFreeVersionText(); } } // Token: 0x06000049 RID: 73 RVA: 0x00006490 File Offset: 0x00004690 private void ShowFreeVersionText() { if (this.m_SetShowFreeVersion) { string text = "GUI Animator FREE (" + string.Format("{0:0}", this.m_ShowFreeVersionText) + ")"; if (GUI.Button(new Rect(10f, 10f, 150f, 25f), text)) { Application.OpenURL("https://www.assetstore.unity3d.com/#!/content/28709"); } } } // Token: 0x0600004A RID: 74 RVA: 0x000064F8 File Offset: 0x000046F8 public void LoadLevel(string LevelName, float delay) { if (delay <= 0f) { Application.LoadLevel(LevelName); return; } if (base.gameObject.activeInHierarchy) { base.StartCoroutine(this.LoadLevelDelay(LevelName, delay)); return; } Debug.LogWarning(base.name + " is inactive"); } // Token: 0x0600004B RID: 75 RVA: 0x00006546 File Offset: 0x00004746 private IEnumerator LoadLevelDelay(string LevelName, float delay) { yield return new WaitForSeconds(delay); Application.LoadLevel(LevelName); yield break; } // Token: 0x0600004C RID: 76 RVA: 0x0000655C File Offset: 0x0000475C public void MoveIn(Transform trans, bool EffectsOnChildren) { if (!trans.gameObject.activeSelf) { return; } GUIAnimFREE component = trans.gameObject.GetComponent(); if (component != null && component.enabled) { component.MoveIn(); } Button component2 = trans.gameObject.GetComponent