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().chickNext(); } }