using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using System.Text; using UnityEngine; using UnityEngine.Events; public class AppMain : MonoBehaviour { public static AppMain Instance; public List pointList = new List(); public Color color1; public Color color2; void Awake() { //单例对象 Instance = this; //初始化 AppCache.Init(); ActionCenter.Instance.Init(); } void Start() { //初始化主页 // AppCache.OpenPage(PageType.PnlMain); AppCache.OpenPage(AppCache.cameraType); // AppCache.OpenPageDelay(AppCache.pageType, 0.3f); AppCache.OpenPageDelay(PageType.Icon01, 2f); // AppCache.OpenPageDelay(PageType.Area01, 2f); } }