summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/BattleDramaDlgBehaviour.cs
blob: bf7617e137099a3871b9feea165eb0a1038d51b9 (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
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;

namespace XMainClient.UI
{
	internal class BattleDramaDlgBehaviour : DlgBehaviourBase
	{
		public IUIDummy m_leftSnapshot;

		public IUIDummy m_rightSnapshot;

		public Vector3 m_leftDummyPos;

		public Vector3 m_rightDummyPos;

		public IXUILabel m_name;

		public Transform m_TaskArea;

		public IXUILabel m_RightText;

		public IXUILabel m_LeftText;

		private void Awake()
		{
			this.m_TaskArea = base.transform.Find("_canvas/TalkTextBg/TaskText");
			this.m_name = (base.transform.Find("_canvas/TalkTextBg/Text").GetComponent("XUILabel") as IXUILabel);
			this.m_RightText = (base.transform.Find("_canvas/TalkTextBg/TaskText/Text").GetComponent("XUILabel") as IXUILabel);
			this.m_LeftText = (base.transform.Find("_canvas/TalkTextBg/TaskText/PlayerText").GetComponent("XUILabel") as IXUILabel);
			this.m_leftSnapshot = (base.transform.Find("_canvas/LeftSnapshot").GetComponent("UIDummy") as IUIDummy);
			this.m_rightSnapshot = (base.transform.Find("_canvas/RightSnapshot").GetComponent("UIDummy") as IUIDummy);
			this.m_leftDummyPos = this.m_leftSnapshot.transform.localPosition;
			this.m_rightDummyPos = this.m_rightSnapshot.transform.localPosition;
		}
	}
}