cull(engine-cleanup): pass-8 phase-2 cascade round 3 after MyPageItemBattle stub
This commit is contained in:
@@ -4,18 +4,9 @@ public class MyPageCardPanelAnimation : MonoBehaviour
|
||||
{
|
||||
public enum State
|
||||
{
|
||||
Start,
|
||||
End
|
||||
}
|
||||
|
||||
private float ClickRotateTime;
|
||||
|
||||
private bool _isCutCardMotion;
|
||||
|
||||
private State _state = State.End;
|
||||
|
||||
private float _timer;
|
||||
|
||||
private float[] _randomTimer;
|
||||
|
||||
private int[] _randomDir;
|
||||
@@ -62,31 +53,6 @@ public class MyPageCardPanelAnimation : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
private void ColorChange(bool isForceOpacity = false)
|
||||
{
|
||||
if (_panel == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
for (int i = 0; i < _cardPanel.Length; i++)
|
||||
{
|
||||
if (_panel[i].alpha < 1f && !isForceOpacity)
|
||||
{
|
||||
float alpha = _panel[i].alpha;
|
||||
alpha += Time.deltaTime * 4f;
|
||||
if (alpha >= 1f)
|
||||
{
|
||||
alpha = 1f;
|
||||
}
|
||||
_panel[i].alpha = alpha;
|
||||
}
|
||||
else
|
||||
{
|
||||
_panel[i].alpha = 1f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void InitRandom()
|
||||
{
|
||||
_randomDir = new int[_cardPanel.Length];
|
||||
|
||||
Reference in New Issue
Block a user