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(AppCache.cameraType); AppCache.OpenPageDelay(PageType.Icon01, 2f); AppCache.OpenPageDelay(PageType.Icon02, 2f); AppCache.OpenPageDelay(PageType.Icon03, 2f); AppCache.OpenPageDelay(PageType.Icon04, 2f); AppCache.OpenPageDelay(PageType.Icon05, 2f); } }