summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XQuickReplyBehavior.cs
blob: c6ada7a9dc8314a8a1bd75ec1546547a03c3a45e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient.UI
{
	internal class XQuickReplyBehavior : DlgBehaviourBase
	{
		public XUIPool m_ItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		public IXUIScrollView m_WrapScrollView = null;

		public IXUIWrapContent m_WrapContent = null;

		public IXUISprite m_Close = null;

		public IXUILabel m_Title = null;

		public IXUIButton m_Voice = null;

		public Transform m_WrapTemp = null;

		public Transform m_SpeakPanel = null;

		private void Awake()
		{
			this.m_SpeakPanel = base.transform.Find("Bg/SpeakPanel");
			this.m_Title = (base.transform.Find("Bg/Title/Label").GetComponent("XUILabel") as IXUILabel);
			this.m_Voice = (base.transform.Find("Bg/BtnVoice").GetComponent("XUIButton") as IXUIButton);
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUISprite") as IXUISprite);
			this.m_WrapScrollView = (base.transform.Find("Bg/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView);
			this.m_WrapContent = (base.transform.Find("Bg/ScrollView/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent);
			this.m_WrapTemp = base.transform.Find("Bg/ScrollView/WrapContent/Content");
			this.m_ItemPool.SetupPool(this.m_WrapTemp.parent.gameObject, this.m_WrapTemp.gameObject, 2u, false);
		}
	}
}