cull(engine-cleanup): pass-8 phase-2 cascade round 2 after MyPageItemBattle stub
This commit is contained in:
@@ -14,8 +14,6 @@ public class MyPageItem : MonoBehaviour
|
||||
|
||||
private MyPageMenu _parent;
|
||||
|
||||
private Dictionary<int, Vector3> _defaultPosition = new Dictionary<int, Vector3>();
|
||||
|
||||
private bool cardAnimationInitialized;
|
||||
|
||||
protected MyPageCardPanelAnimation CardAnimation => _cardMove;
|
||||
@@ -93,21 +91,6 @@ public class MyPageItem : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
protected void TweenMoveTo(GameObject obj, float x)
|
||||
{
|
||||
RemoveITween(obj);
|
||||
iTween.MoveTo(obj, iTween.Hash("x", x, "time", 0.3f, "delay", 0.1f, "islocal", true, "easetype", iTween.EaseType.easeOutExpo));
|
||||
}
|
||||
|
||||
protected void FadeOutCardPanel(MyPageCardPanel panel, Action onFinish)
|
||||
{
|
||||
panel.EffectActive = false;
|
||||
FadeOutObject(panel.gameObject.AddMissingComponent<UITweenAlpha>(), delegate
|
||||
{
|
||||
onFinish.Call();
|
||||
});
|
||||
}
|
||||
|
||||
protected static void FadeOutObject(UITweenAlpha tweenAlpha, Action onFinish = null)
|
||||
{
|
||||
tweenAlpha.End();
|
||||
|
||||
Reference in New Issue
Block a user