You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1016 B
35 lines
1016 B
4 years ago
|
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<UIViewBag>().BagData = EquipManager.Instance.GetBagData();
|
||
|
// UIManager.ShowView<UIViewEquipLib>();
|
||
|
// UIManager.ShowView<UIViewBag>();
|
||
|
//}
|
||
|
//if (GUI.Button(new Rect(0, 100, 200, 50), "角色报告"))
|
||
|
//{
|
||
|
// UIManager.ShowView<UIViewReport>();
|
||
|
//}
|
||
|
//if (GUI.Button(new Rect(0, 200, 200, 50), "公聊窗口"))
|
||
|
//{
|
||
|
// UIManager.ShowView<ChatPanel>();
|
||
|
//}
|
||
|
//if (GUI.Button(new Rect(0, 300, 200, 50), "私聊窗口"))
|
||
|
//{
|
||
|
// UIManager.ShowView<PrivateChatPanel>();
|
||
|
//}
|
||
|
}
|
||
|
}
|