using LitJson; using UnityEngine; using UnityEngine.EventSystems; using System.Collections; using System.Diagnostics; public delegate void Regist(); public class Initializer : MonoBehaviour { #region public static Regist RegistValue; public static Regist RegistReference; #endregion private void Start() { gameObject.AddComponent(); gameObject.AddComponent(); gameObject.AddComponent(); gameObject.AddComponent(); gameObject.AddComponent(); gameObject.AddComponent(); gameObject.AddComponent(); gameObject.AddComponent(); gameObject.AddComponent(); RegistReference(); RegistValue(); ManaLog.Log(string.Format("开始调试 每{0}秒计算一次收入", ManaData.CircleTime)); ManaLog.Log(string.Format("开始调试 按{0}键-升级花园 {1}键-冷却技能 {2}键-获取游戏币", "P", "O", "I")); } }