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

59 lines
1.1 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Flow5_5 : FlowsBase
{
public Animator ;
public HighlightingSystem.Highlighter[] highlighter;
public GameObject ;
//public GameObject 提示;
//public Button 工作证;
// Start is called before the first frame update
protected override void Start()
{
base.Start();
if (GameObject.Find("GameFlowManager").GetComponent<FlowManager>(). == .)
{
for (int i = 0; i < highlighter.Length; i++)
{
highlighter[i].constant = true;
}
}
.SetActive(true);
}
// Update is called once per frame
protected override void Update()
{
base.Update();
Next();
}
protected override void Next()
{
base.Next();
}
public void closehighlight() {
for (int i = 0; i < highlighter.Length; i++)
{
highlighter[i].constant = false;
}
if ( != null)
{ .Play("关门"); }
}
}