| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class ChatPanel 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  private InputField _InputField;
 
- 	  public InputField InputField
 
- 	   {
 
- 	   get{
 
- 	      if (_InputField == null)
 
- 	       {
 
- 	         _InputField  = GetUIUnit<InputField>("InputField"); 
 
- 	       }
 
- 	      return _InputField;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Send;
 
- 	  public Button Btn_Send
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Send == null)
 
- 	       {
 
- 	         _Btn_Send  = GetUIUnit<Button>("Btn_Send"); 
 
- 	       }
 
- 	      return _Btn_Send;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _Content;
 
- 	  public RectTransform Content
 
- 	   {
 
- 	   get{
 
- 	      if (_Content == null)
 
- 	       {
 
- 	         _Content  = GetUIUnit<RectTransform>("Content"); 
 
- 	       }
 
- 	      return _Content;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _UserChatMessageWidget;
 
- 	  public GameObject UserChatMessageWidget
 
- 	   {
 
- 	   get{
 
- 	      if (_UserChatMessageWidget == null)
 
- 	       {
 
- 	         _UserChatMessageWidget  = GetUIUnit<GameObject>("UserChatMessageWidget"); 
 
- 	       }
 
- 	      return _UserChatMessageWidget;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _SysteamChatWidget;
 
- 	  public GameObject SysteamChatWidget
 
- 	   {
 
- 	   get{
 
- 	      if (_SysteamChatWidget == null)
 
- 	       {
 
- 	         _SysteamChatWidget  = GetUIUnit<GameObject>("SysteamChatWidget"); 
 
- 	       }
 
- 	      return _SysteamChatWidget;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Close;
 
- 	  public Button Btn_Close
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Close == null)
 
- 	       {
 
- 	         _Btn_Close  = GetUIUnit<Button>("Btn_Close"); 
 
- 	       }
 
- 	      return _Btn_Close;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |