using System.Collections; using System.Collections.Generic; using UnityEngine; public class tipsbase : MonoBehaviour { private FlowManager flowManager; // Start is called before the first frame update void Start() { flowManager = GameObject.Find("GameFlowManager").GetComponent(); } // Update is called once per frame void Update() { if (flowManager.流程模式 == 流程模式.考核模式) { gameObject.SetActive(false); } } }