using UnityEngine; using System.Collections; public class FirstStatus : IApplicationStatus { public override void OnEnterStatus() { Debug.Log("DPI :" + Screen.dpi + " FontSize" + GUIUtil.FontSize); InputOperationEventProxy.LoadEventCreater(); InputManager.AddListener(OnEventCallBack); GameObject go = GameObjectManager.CreateGameObjectByPool("gogo"); go.transform.position = new Vector3(0,0,300); go.transform.localScale = new Vector3(100, 100, 100); UIManager.OpenUIWindow(); AnimSystem.Move(go, null, new Vector3(0, 0, 600), time:1,repeatType: RepeatType.PingPang); AnimSystem.Move(go, null, Vector3.one, callBack: (object[] obj) => { } , parameter: new object[] { }); } //public void CallBackTest(InputNetworkEvent e) //{ // Debug.Log(e.Serialize()); //} public void OnEventCallBack(CustomEvent e) { Debug.Log(e.Serialize()); } }