UI替换与对应代码进行调整
This commit is contained in:
@@ -14,7 +14,7 @@ namespace TcgEngine.UI
|
||||
{
|
||||
public string group;
|
||||
public bool active;
|
||||
// public GameObject highlight;
|
||||
public GameObject highlight;
|
||||
public UIPanel ui_panel;
|
||||
|
||||
public UnityAction onClick;
|
||||
@@ -47,8 +47,8 @@ namespace TcgEngine.UI
|
||||
|
||||
void Update()
|
||||
{
|
||||
// if (highlight != null)
|
||||
// highlight.SetActive(active);
|
||||
if (highlight != null)
|
||||
highlight.SetActive(active);
|
||||
}
|
||||
|
||||
private void OnClick()
|
||||
|
||||
Reference in New Issue
Block a user