1234567891011121314151617181920212223242526272829 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- using XRTool.Util;
- using XRTool.WorldUI;
- namespace ShadowStudio.UI
- {
- [RequireComponent(typeof(WorldDlg))]
- public class ShortcutkeyDlg : UnitySingleton<ShortcutkeyDlg>
- {
- private Button shortcutkey;
-
- // Start is called before the first frame update
- void Start()
- {
- WorldDlg dlg = GetComponent<WorldDlg>();
- shortcutkey = dlg.GetBreadthChild<Button>("Shortcutkey");
- shortcutkey.onClick.AddListener(ClickOnShortcutkey);
- }
- private void ClickOnShortcutkey()
- {
- //ShowViewMgr.Instance.ShowView(1);
- }
- }
- }
|