27 lines
726 B
C#
27 lines
726 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using XFrame.Core.UI;
|
|
|
|
public class Found_panl : XUIPanel
|
|
{
|
|
/// <summary>
|
|
/// 输入的房间号
|
|
/// </summary>
|
|
public InputField input_room;
|
|
public Found_panl() : base(UIType.Normal, UIMode.HideOther, UICollider.Normal)
|
|
{
|
|
uiPath = "UIPanel/Found_panl";
|
|
}
|
|
public override void Awake(GameObject go)
|
|
{
|
|
input_room = this.transform.Find("Text/InputField").GetComponent<InputField>();
|
|
base.Awake(go);
|
|
//this.transform.Find("OverButton").GetComponent<Button>().onClick.AddListener(() =>
|
|
//{
|
|
// ShowPanel<View_Panel>();
|
|
//});
|
|
}
|
|
}
|