备份CatanBuilding瘦身独立工程
This commit is contained in:
24
Assets/Scripts/UI/Social/ScocialReportPanel.cs
Normal file
24
Assets/Scripts/UI/Social/ScocialReportPanel.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using asap.core;
|
||||
using game;
|
||||
|
||||
public class ScocialReportPanel : ReportPopupPanel
|
||||
{
|
||||
private void Awake()
|
||||
{
|
||||
clubService = GContext.container.Resolve<ClubService>();
|
||||
text_empty = transform.Find("empty").gameObject;
|
||||
panelScroll = transform.Find("rank/ScrollView").gameObject;
|
||||
eventReportPopupItem = transform.Find("rank/ScrollView/Viewport/Content/Item").gameObject;
|
||||
Content = transform.Find("rank/ScrollView/Viewport/Content");
|
||||
eventReportPopupItem.SetActive(false);
|
||||
//SetH();
|
||||
}
|
||||
//赠送礼物
|
||||
//void SetH()
|
||||
//{
|
||||
// RectTransform rectTransform = panelScroll.transform.GetComponent<RectTransform>();
|
||||
// //Rect rect = rectTransform.rect;
|
||||
// //rect.yMax = 1550;350
|
||||
// rectTransform.offsetMin = new Vector2(0, 500);//350
|
||||
//}
|
||||
}
|
||||
Reference in New Issue
Block a user