E_ElecCompetition/Electrical_inspectionCompet.../Assets/Script/Flow/Flow3.cs

57 lines
944 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Flow3 : FlowsBase
{
///public GameObject[] 按钮高亮提示;
//public GameObject 提示;
public Button ;
// Start is called before the first frame update
protected override void Start()
{
base.Start();
.onClick.AddListener(nextflow);
.SetActive(true);
Debug.Log("高亮");
}
// Update is called once per frame
protected override void Update()
{
base.Update();
Next();
}
protected override void Next()
{
base.Next();
}
public void nextflow()
{
for (int i = 0; i < .Count; i++)
{
if ([i]. == .)
{ [i]. = true; }
}
.onClick.RemoveAllListeners();
}
}