You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
695 B
24 lines
695 B
using UnityEngine.UI; |
|
using System.IO; |
|
using System; |
|
|
|
public class MakeScoreSubItemManager : BaseSubItemManager |
|
{ |
|
protected Button CheckScoreButton; |
|
public override void ButtonInit() |
|
{ |
|
|
|
} |
|
|
|
public override void CheckIfHasAnswer()//判断是否显示打分按钮或提示 |
|
{ |
|
var examObj = transform.parent.parent.parent.parent.parent; |
|
if (examObj.GetComponent<MakeScoreItemManager>().MarkingOver) |
|
{ |
|
return; |
|
} |
|
var MakeScoreButton = examObj.Find("MakeScoreButton").gameObject; |
|
MakeScoreButton.SetActive(QuestionToggle.isOn); |
|
examObj.Find("Tip").gameObject.SetActive(!QuestionToggle.isOn); |
|
} |
|
}
|
|
|