void Process_Exited(object sender, EventArgs e) { Process tempP = sender as Process; StreamReader tempSr = tempP.StandardOutput; string tempText = tempSr.ReadToEnd(); mImageFiles = tempText.Split(new String[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries); MonoHelper.AddUpdateListener(DelayHandleImport); }
public void Start(GameParam param) { GameLogicManager gameManager = GameLogicManager.Instance; gameManager.CreateGame(param); gameManager.onPlayerDie += OnPlayerDie; gameManager.onPlayerArriveEnd += OnPlayerArriveEnd; m_context = gameManager.Context; // 初始玩家数据 InitPalyerData(); InitGameInput(); // 监听frame输入 MonoHelper.AddUpdateListener(UpdateGame); GameCamera.FocusPlayerId = m_mainPlayerId; }
public void StartUp() { this.backupUrlState = BackUpUrlState.None; StartCheckUpdate(); MonoHelper.AddUpdateListener(Update); }
public void Create() { m_mainUserId = UserManager.Instance.MainUserData.id; m_mainUserName = UserManager.Instance.MainUserData.name; MonoHelper.AddUpdateListener (OnUpdate); }
// void Awake() // { // // } // void OnEnable() // { // // } // void Start() { MonoHelper.AddUpdateListener(PrintArgs); }