private void EventCallBack()
 {
     if (Application.internetReachability == NetworkReachability.NotReachable)
     {
         GameObject.Find("Directional Light").GetComponent <Main>().toast("网络无连接");
     }
     else
     {
         mpc.Replay();
         gameObject.GetComponent <Renderer>().material = m_NormalMaterialReplay;
     }
 }
Beispiel #2
0
 //重播
 void ReplayClick()
 {
     mediaPlayerCtrl.Replay();
 }