using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class UITest : MonoBehaviour { public Bags FiremanBag; private void Awake() { SelectedObjs.selectedCharacters.Add(FiremanBag.gameObject); } private void OnGUI() { //if (GUI.Button(new Rect(0,0,200,50),"选装界面")) //{ // UIManager.GetView().BagData = EquipManager.Instance.GetBagData(); // UIManager.ShowView(); // UIManager.ShowView(); //} //if (GUI.Button(new Rect(0, 100, 200, 50), "角色报告")) //{ // UIManager.ShowView(); //} //if (GUI.Button(new Rect(0, 200, 200, 50), "公聊窗口")) //{ // UIManager.ShowView(); //} //if (GUI.Button(new Rect(0, 300, 200, 50), "私聊窗口")) //{ // UIManager.ShowView(); //} } }