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

68 lines
1.2 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Flow2_3 : FlowsBase
{
public GameObject[] ;
public Button ;
public Animator ;
// Start is called before the first frame update
protected override void Start()
{
base.Start();
.onClick.AddListener(onclick);
}
// Update is called once per frame
protected override void Update()
{
base.Update();
//if (flowManager.index == 3) {
if (flowManager. == .)
{
for (int i = 0; i < .Length; i++)
{
[i].SetActive(true);
}
//按钮高亮提示.SetActive(true);
}
//移动记录仪.onValueChanged.AddListener(onclick);
//}
// Next();
}
protected override void Next()
{
base.Next();
}
public void onclick()
{
.Play("拿出移动终端");
Debug.Log("触发");
Next();
[0].GetComponent<InteractiveUI2_2>().chickNext();
}
}