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<FlowManager>(); } // Update is called once per frame void Update() { if (flowManager.Á÷³Ìģʽ == Á÷³Ìģʽ.¿¼ºËģʽ) { gameObject.SetActive(false); } } }