_xiaofang/xiaofang/Assets/Script/UI/PanelUI/SelectToggle.cs
2024-12-25 15:29:21 +08:00

35 lines
763 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SelectToggle : Base
{
[Header("选择剧本")]
public Toggle choseJuBenToggle;
[Header("应急人员配置")]
public Toggle emergencyToggle;
[Header("疏散人群公布")]
public Toggle peoplepublishToggle;
[Header("应急物资储备")]
public Toggle materialToggle;
[Header("选择演练日期")]
public Toggle dateSelectionToggle;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
//场景界面选择后默认选中应急人员配置Toggle
public void DefaultToggle()
{
emergencyToggle.isOn = true;
}
}