Exemple #1
0
    private void rightIn()
    {
        RectTransform rectTransform = transform as RectTransform;

        transform.localScale = Vector3.one;
        SkyAnimator.moveFrom(gameObject, AppearTime, new Vector3(Screen.width, initPosition.y, 0), true, AniDurationIn, InAction);
    }
Exemple #2
0
    private void bottomIn()
    {
        RectTransform rectTransform = transform as RectTransform;

        transform.localScale = Vector3.one;
        SkyAnimator.moveFrom(gameObject, AppearTime, new Vector3(initPosition.x, -Screen.height, 0), true, AniDurationIn, InAction);
    }