| | |
| | | ListenWindow("ExpSecretCollectionWin"); |
| | | UIManager.Instance.OpenWindow<ExpSecretCollectionWin>(); |
| | | }); |
| | | |
| | | |
| | | signBtn.AddListener(() => |
| | | { |
| | | //用于监听界面,打开时缩进右边功能栏,关闭时显示 |
| | |
| | | public void ShowFuncCol(bool _isShow) |
| | | { |
| | | isShow = _isShow; |
| | | funcCol.DOLocalMove(isShow ? showPoint.localPosition : hidePoint.localPosition, 0.3f); |
| | | funcCol?.DOLocalMove(isShow ? showPoint.localPosition : hidePoint.localPosition, 0.3f); |
| | | if (isShow) |
| | | { |
| | | ShowBtns(); |
| | |
| | | listenWindowName = ""; |
| | | } |
| | | |
| | | //外部使用 |
| | | public static void ListenWindowEx(string _listenWindowName) |
| | | { |
| | | listenWindowName = _listenWindowName; |
| | | } |
| | | } |
| | | |