public class L7 : MonoBehaviour
{// Start is called before the first frame updatevoid Start(){//制作Toggle//1.2个Sprite 一父一子//2.为父对象添加Toggle脚本//3.添加碰撞器//4.建立联系,在父对象的Toggle脚本上的Sprite选项中拖入子对象//相关参数//Group - 多选框分组,多个多选框分为一组则变为单选框//State of None - 单选框状态时,允许都不选中//监听时间的两种方式//1.拖脚本//2.代码进行事件监听}}