cull(engine-cleanup): pass-8 phase-2 cascade round 2 after MyPageItemBattle stub
This commit is contained in:
@@ -8,12 +8,8 @@ public class MyPageCardPanelAnimation : MonoBehaviour
|
||||
End
|
||||
}
|
||||
|
||||
private float ClickRotateTimeTotal;
|
||||
|
||||
private float ClickRotateTime;
|
||||
|
||||
private float ClickIndex;
|
||||
|
||||
private bool _isCutCardMotion;
|
||||
|
||||
private State _state = State.End;
|
||||
@@ -30,18 +26,6 @@ public class MyPageCardPanelAnimation : MonoBehaviour
|
||||
|
||||
private Vector3[] _defaultPosition;
|
||||
|
||||
public bool IsCardMoving
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!(ClickRotateTime > 0f))
|
||||
{
|
||||
return _state != State.End;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public void SetCardPanelList(GameObject[] list)
|
||||
{
|
||||
_cardPanel = new GameObject[list.Length];
|
||||
@@ -78,21 +62,6 @@ public class MyPageCardPanelAnimation : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void StartCardPanelAnimation(bool isCutCardMotion)
|
||||
{
|
||||
_state = State.Start;
|
||||
_timer = 0f;
|
||||
_isCutCardMotion = isCutCardMotion;
|
||||
for (int i = 0; i < _cardPanel.Length; i++)
|
||||
{
|
||||
GameObject obj = _cardPanel[i];
|
||||
Vector3 localPosition = obj.transform.transform.localPosition;
|
||||
localPosition.x = -22100f;
|
||||
obj.transform.transform.localPosition = localPosition;
|
||||
iTween.Stop(obj);
|
||||
}
|
||||
}
|
||||
|
||||
private void ColorChange(bool isForceOpacity = false)
|
||||
{
|
||||
if (_panel == null)
|
||||
@@ -118,21 +87,6 @@ public class MyPageCardPanelAnimation : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void StopMove()
|
||||
{
|
||||
_state = State.End;
|
||||
for (int i = 0; i < _cardPanel.Length; i++)
|
||||
{
|
||||
iTween.Stop(_cardPanel[i]);
|
||||
if (_panel != null)
|
||||
{
|
||||
_panel[i].alpha = 1f;
|
||||
}
|
||||
}
|
||||
InitRandom();
|
||||
ColorChange(isForceOpacity: true);
|
||||
}
|
||||
|
||||
private void InitRandom()
|
||||
{
|
||||
_randomDir = new int[_cardPanel.Length];
|
||||
|
||||
Reference in New Issue
Block a user