using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public enum GuideBoxType { None, //Box, Fire, Wood, Water } public class GuideBox : MonoBehaviour { Button bgBtn;//背景按钮 private GuideBoxType myType; GameObject srImage; GameObject infoImage; GameObject firePS; GameObject woodPS; GameObject waterPS; GameObject firePanel; GameObject woodPanel; GameObject waterPanel; GameObject tmpPS = null; GameObject tmpObj = null; Text infoTxt; Action callBack; // Start is called before the first frame update void Awake() { bgBtn = transform.Find("BackGround").GetComponent