Ejemplo n.º 1
0
 public void ClickButton(GameObject click)
 {
     if (click.name.Equals("AVPro Video"))
     {
         MediaPlayerMgr.Stop();
         UIManager.ShowPanel(PanelType.PanelHandControl);
     }
 }
Ejemplo n.º 2
0
    public override void OnMessage(IMessage message)
    {
        string name = message.Name;
        object body = message.Body;

        switch (name)
        {
        case MessageDef.VideoPlayBusy:          //更新消息
            //VideoList = (List<VideoNode>)message.Body;
            SetIndexNum();
            break;

        case MessageDef.VideoPlay:          //更新消息
            MediaPlayerMgr.Stop();
            break;
        }
    }