public void IniLauncer() { LauncherView.gameObject.SetActive(true); VideoListPartPanel.gameObject.SetActive(false); recommendPart.gameObject.SetActive(true); backImage.position = recommendButton.position; columnType = ColumnType.RecommendVideo; panelBackStatus = PanelBackStatus.Default; }
void ItemOnClick(Transform itemButton) { panelBackStatus = PanelBackStatus.VideoDetail; LauncherView.gameObject.SetActive(false); JsonDataManager.currentId = itemButton.name; // MsgBase msg = new MsgBase((ushort)UIEvent.ShowVideoDetailRoot); BottomManager.instance.BottomButtonContent.gameObject.SetActive(false); VideoControl.instance.VideoDetailRoot.gameObject.SetActive(true); VideoControl.instance.ShowDetailFun();//显示界面设置 // SendMsg(msg); // SendMsg(new MsgBase((ushort)UIEvent.ShowVideoDetailRoot)); SendMsg(new MsgBase((ushort)UIEvent.HideBottomPart)); }