diff options
| author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 | 
|---|---|---|
| committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 | 
| commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
| tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/UI/ReceiveEnergyPanelModelView.cs | |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/ReceiveEnergyPanelModelView.cs')
| -rw-r--r-- | Client/Assets/Scripts/XMainClient/UI/ReceiveEnergyPanelModelView.cs | 40 | 
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/ReceiveEnergyPanelModelView.cs b/Client/Assets/Scripts/XMainClient/UI/ReceiveEnergyPanelModelView.cs new file mode 100644 index 00000000..861600a4 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/ReceiveEnergyPanelModelView.cs @@ -0,0 +1,40 @@ +using System;
 +using UILib;
 +using UnityEngine;
 +
 +namespace XMainClient.UI
 +{
 +	internal class ReceiveEnergyPanelModelView
 +	{
 +		public IXUILabel m_lbNum;
 +
 +		public IXUISprite m_sprFinish;
 +
 +		public IXUISprite m_EnerySpr;
 +
 +		public GameObject m_ItemGo;
 +
 +		public IXUISprite m_ItemIcon;
 +
 +		public IXUILabel m_ItemNumLab;
 +
 +		public void FindFrom(Transform t)
 +		{
 +			bool flag = null == t;
 +			if (!flag)
 +			{
 +				this.m_lbNum = (t.GetComponent("XUILabel") as IXUILabel);
 +				this.m_sprFinish = (t.Find("F").GetComponent("XUISprite") as IXUISprite);
 +				this.m_EnerySpr = (t.Find("Icon").GetComponent("XUISprite") as IXUISprite);
 +				Transform transform = t.Find("Item");
 +				bool flag2 = transform != null;
 +				if (flag2)
 +				{
 +					this.m_ItemGo = transform.gameObject;
 +					this.m_ItemNumLab = (transform.Find("Num").GetComponent("XUILabel") as IXUILabel);
 +					this.m_ItemIcon = (transform.Find("Icon1").GetComponent("XUISprite") as IXUISprite);
 +				}
 +			}
 +		}
 +	}
 +}
  | 
