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); }
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); }