学习模式 只高亮当前
考核模式 高亮做过的步骤 实现过于耦合 后期优化
This commit is contained in:
parent
3e4d87b0ca
commit
448bab5f03
@ -66,7 +66,15 @@ namespace QFramework.Example
|
|||||||
btn.transform.parent.gameObject.SetActive(true);
|
btn.transform.parent.gameObject.SetActive(true);
|
||||||
break;
|
break;
|
||||||
case StepStatus.Finished:
|
case StepStatus.Finished:
|
||||||
stepLabel.color = highColor;
|
// TODO:实现方式过于耦合 后期优化
|
||||||
|
if (Global.Instance.curModule.type=="Exam")
|
||||||
|
{
|
||||||
|
stepLabel.color = highColor;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
stepLabel.color = Color.white;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user