private void OnChangeDes(EventType obj) { if (obj is MultiEvent <string> item) { _des.text = item.Value; } }
private void OnCountDown(EventType obj) { if (obj is MultiEvent <int> item) { StartCoroutine(OnCountDown(item.Value)); } }
/// <summary> /// 修改Game视图得内容 /// </summary> /// <param name="obj"></param> private void OnChangeCrossCount(EventType obj) { CrossCount.text = SM_SceneManager.Instance.CurLevelData.GetGameString(); }