cull(engine-cleanup): pass-8 phase-2 cascade round 1 after MyPageItemHome stub
This commit is contained in:
@@ -18,41 +18,8 @@ public class MyPageItem : MonoBehaviour
|
||||
|
||||
protected MyPageCardPanelAnimation CardAnimation => _cardMove;
|
||||
|
||||
protected MyPageMenu Parent => _parent;
|
||||
|
||||
public bool IsEnableFooterCurrentMenu { get; set; }
|
||||
|
||||
public virtual void Initialize(MyPageMenu parent)
|
||||
{
|
||||
_parent = parent;
|
||||
SaveCardPanelDefaultPosition();
|
||||
if (cardAnimationInitialized)
|
||||
{
|
||||
return;
|
||||
}
|
||||
cardAnimationInitialized = true;
|
||||
if (_cardMove != null)
|
||||
{
|
||||
GameObject[] array = new GameObject[_cardPanelList.Length];
|
||||
for (int i = 0; i < _cardPanelList.Length; i++)
|
||||
{
|
||||
array[i] = _cardPanelList[i].gameObject;
|
||||
}
|
||||
_cardMove.SetCardPanelList(array);
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void Show(bool skipCardAnimation = false)
|
||||
{
|
||||
base.gameObject.SetActive(value: true);
|
||||
IsEnableFooterCurrentMenu = false;
|
||||
}
|
||||
|
||||
public virtual void Hide()
|
||||
{
|
||||
base.gameObject.SetActive(value: false);
|
||||
}
|
||||
|
||||
protected void SaveCardPanelDefaultPosition()
|
||||
{
|
||||
int num = _cardPanelList.Length;
|
||||
@@ -66,19 +33,4 @@ public class MyPageItem : MonoBehaviour
|
||||
CardAnimation.UpdateCardPanelDefaultPosition(array);
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void OnMyPageInfoReceive()
|
||||
{
|
||||
if (_cardPanelList == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
for (int i = 0; i < _cardPanelList.Length; i++)
|
||||
{
|
||||
if (_cardPanelList[i] != null)
|
||||
{
|
||||
_cardPanelList[i].CheckMaintenanceType();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user