Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 193 characters in body
Source Link
Stefan
  • 117
  • 2
  • 11

In Unity UI I have a TextMeshPro Button and some TextMeshPro Text like in the following image: enter image description here

Is there any function in a Tween Library like DOTween that could make the text look like its coming out from the left side then going back in? (not scaling). Or without a tweening library how could this be done?

Something like:

enter image description here

As @DMGregory pointed out, this could be understand in two ways

  1. coming out and in letter by letter or
  2. smooth transition, cutting the letters.

My aim was to achieve 2) - a smooth transition.

Later edit:

Thank you for the help @Vaillancourt , @DMGregory and @Kevin - a mask works perfectly, will tune it further.

Demo

In Unity UI I have a TextMeshPro Button and some TextMeshPro Text like in the following image: enter image description here

Is there any function in a Tween Library like DOTween that could make the text look like its coming out from the left side then going back in? (not scaling). Or without a tweening library how could this be done?

Something like:

enter image description here

As @DMGregory pointed out, this could be understand in two ways

  1. coming out and in letter by letter or
  2. smooth transition, cutting the letters.

My aim was to achieve 2) - a smooth transition.

Later edit:

Thank you for the help @Vaillancourt , @DMGregory and @Kevin - a mask works perfectly, will tune it further.

Demo

In Unity UI I have a TextMeshPro Button and some TextMeshPro Text like in the following image: enter image description here

Is there any function in a Tween Library like DOTween that could make the text look like its coming out from the left side then going back in? (not scaling). Or without a tweening library how could this be done?

Something like:

enter image description here

As @DMGregory pointed out, this could be understand in two ways

  1. coming out and in letter by letter or
  2. smooth transition, cutting the letters.

My aim was to achieve 2) - a smooth transition.

added 192 characters in body
Source Link
Stefan
  • 117
  • 2
  • 11

In Unity UI I have a TextMeshPro Button and some TextMeshPro Text like in the following image: enter image description here

Is there any function in a Tween Library like DOTween that could make the text look like its coming out from the left side then going back in? (not scaling). Or without a tweening library how could this be done?

Something like:

enter image description here

As @DMGregory pointed out, this could be understand in two ways

  1. coming out and in letter by letter or
  2. smooth transition, cutting the letters.

My aim was to achieve 2) - a smooth transition.

Later edit:

Thank you for the help @Vaillancourt , @DMGregory and @Kevin - a mask works perfectly, will tune it further.

Demo

In Unity UI I have a TextMeshPro Button and some TextMeshPro Text like in the following image: enter image description here

Is there any function in a Tween Library like DOTween that could make the text look like its coming out from the left side then going back in? (not scaling). Or without a tweening library how could this be done?

Something like:

enter image description here

As @DMGregory pointed out, this could be understand in two ways

  1. coming out and in letter by letter or
  2. smooth transition, cutting the letters.

My aim was to achieve 2) - a smooth transition.

In Unity UI I have a TextMeshPro Button and some TextMeshPro Text like in the following image: enter image description here

Is there any function in a Tween Library like DOTween that could make the text look like its coming out from the left side then going back in? (not scaling). Or without a tweening library how could this be done?

Something like:

enter image description here

As @DMGregory pointed out, this could be understand in two ways

  1. coming out and in letter by letter or
  2. smooth transition, cutting the letters.

My aim was to achieve 2) - a smooth transition.

Later edit:

Thank you for the help @Vaillancourt , @DMGregory and @Kevin - a mask works perfectly, will tune it further.

Demo

added 200 characters in body; added 7 characters in body
Source Link
Stefan
  • 117
  • 2
  • 11

In Unity UI I have a TextMeshPro Button and some TextMeshPro Text like in the following image: enter image description here

Is there any function in a Tween Library like DOTween that could make the text look like its coming out from the left side then going back in? (not scaling). Or without a tweening library how could this be done?

Something like:

enter image description here

As @DMGregory pointed out, this could be understand in two ways

  1. coming out and in letter by letter or
  2. smooth transition, cutting the letters.

My aim was to achieve 2) - a smooth transition.

In Unity UI I have a TextMeshPro Button and some TextMeshPro Text like in the following image: enter image description here

Is there any function in a Tween Library like DOTween that could make the text look like its coming out from the left side then going back in? (not scaling). Or without a tweening library how could this be done?

Something like:

enter image description here

In Unity UI I have a TextMeshPro Button and some TextMeshPro Text like in the following image: enter image description here

Is there any function in a Tween Library like DOTween that could make the text look like its coming out from the left side then going back in? (not scaling). Or without a tweening library how could this be done?

Something like:

enter image description here

As @DMGregory pointed out, this could be understand in two ways

  1. coming out and in letter by letter or
  2. smooth transition, cutting the letters.

My aim was to achieve 2) - a smooth transition.

Source Link
Stefan
  • 117
  • 2
  • 11
Loading