cull(engine-cleanup): pass-8 phase-2 cascade round 3 after MyPageItemHome stub

This commit is contained in:
gamer147
2026-07-03 22:01:31 -04:00
parent e9b112d083
commit 17b436d33d
19 changed files with 1 additions and 393 deletions

View File

@@ -15,35 +15,4 @@ public class MyPageCardPanelAnimation : MonoBehaviour
private UIPanel[] _panel;
private Vector3[] _defaultPosition;
public void UpdateCardPanelDefaultPosition(Vector3[] newPosition)
{
_defaultPosition = newPosition;
}
private void InitializePanel()
{
if (_panel == null)
{
_panel = new UIPanel[_cardPanel.Length];
_defaultPosition = new Vector3[_cardPanel.Length];
for (int i = 0; i < _cardPanel.Length; i++)
{
GameObject gameObject = _cardPanel[i];
_panel[i] = gameObject.GetComponent<UIPanel>();
_defaultPosition[i] = gameObject.transform.localPosition;
}
}
}
private void InitRandom()
{
_randomDir = new int[_cardPanel.Length];
_randomTimer = new float[_cardPanel.Length];
for (int i = 0; i < _cardPanel.Length; i++)
{
_randomDir[i] = (((double)Random.value > 0.5) ? 1 : (-1));
_randomTimer[i] = Random.Range(-0.3f, 0f);
}
}
}