This commit is contained in:
yulong 2024-05-23 08:50:00 +08:00
parent cfe8c36cdc
commit 4e1a1df5db
2 changed files with 5 additions and 5 deletions

View File

@ -2970,7 +2970,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0} m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0} m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: -300, y: 24} m_AnchoredPosition: {x: -300, y: 25}
m_SizeDelta: {x: 156, y: 46} m_SizeDelta: {x: 156, y: 46}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1032664036 --- !u!114 &1032664036
@ -5011,7 +5011,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0} m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0} m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: -300, y: 24} m_AnchoredPosition: {x: -300, y: 26.099976}
m_SizeDelta: {x: 156, y: 46} m_SizeDelta: {x: 156, y: 46}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1713150390 --- !u!114 &1713150390

View File

@ -59,7 +59,7 @@ public class Electricitychargeaccounting : MonoBehaviour
Doexercises();//上下题切换 Doexercises();//上下题切换
} }
private void Doexercises() public void Doexercises()
{ {
nextbutton3.onClick.AddListener(() => nextbutton3.onClick.AddListener(() =>
{ {
@ -85,7 +85,7 @@ public class Electricitychargeaccounting : MonoBehaviour
/// <summary> /// <summary>
/// 计算第一题 /// 计算第一题
/// </summary> /// </summary>
public void Calculatescore() public void Calculatescore()
{ {
if (Calculateinput[0].text == "大工业") if (Calculateinput[0].text == "大工业")
@ -224,7 +224,7 @@ public class Electricitychargeaccounting : MonoBehaviour
/// <summary> /// <summary>
/// 计算第二题 /// 计算第二题
/// </summary> /// </summary>
public void Calculatescore2() public void Calculatescore2()
{ {
if (Calculateinput2[0].text == "大工业") if (Calculateinput2[0].text == "大工业")
{ {