private void OnEndEnter(int eventID, FSMState preState, FSMState currentState) { this.Updating = false; this.UpdateInfo = null; if (this.OnUpdateEnd != null) { this.OnUpdateEnd.Invoke(); } else { PreloadingUIView.Close(); } }
private void OnInitEnter(int eventID, FSMState preState, FSMState currentState) { Debug.Log("UpdateManager init"); this.UpdateInfo = new UpdateManager.UpdatePatchInfo(); this.OnInitUpdate(null); }