| UI/Common/UIFuncOpen.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
UI/Common/UIFuncOpen.cs
@@ -16,7 +16,9 @@ [SerializeField] GameObject LockImg; [SerializeField] bool active = true; public int id { get { return funcOpenKey; } } private Button funcBtn; private void Awake() { funcBtn = GetComponent<Button>(); @@ -64,7 +66,11 @@ var IsOpen = FuncOpen.Instance.IsFuncOpen(funcOpenKey); var _funcOpenCfg = FuncOpenLVConfig.Get(funcOpenKey); funcBtn.interactable = IsOpen; if (funcBtn != null) { funcBtn.interactable = IsOpen; } if (LockImg != null) { LockImg.SetActive(!IsOpen);