using UnityEngine; using System.Collections; public class OpenPlane : MonoBehaviour { public GameObject ThisbJoBJ; void Start() { //IManager.Instance.AddWinToUIListAll(new UIClass(ThisbJoBJ,GameObject.Find("UI Root").transform.FindChild("BJ").gameObject,"CloseNodePlane")); } public void OpenBjOnClick() { if (!ThisbJoBJ.activeInHierarchy) { //UIManager.Instance.ShowWin(new UIClass(ThisbJoBJ, GameObject.Find("UI Root").transform.FindChild("BJ").gameObject, "CloseNodePlane"), UIManager.WinShowType.CloseOthers, true); //NodeSetting.Instance.OpenSetingPlane(Selected.curCJID); } } }