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