All Projects → baba-s → TMP_Typewriter

baba-s / TMP_Typewriter

Licence: MIT license
Typewriter for TextMesh Pro. TMP_Typewriter prints out characters one by one. ( Required the DOTween. )

Programming Languages

ShaderLab
938 projects
HLSL
714 projects
C#
18002 projects

Projects that are alternatives of or similar to TMP Typewriter

TMP FontAssetUpdater
You can automatically update FontAsset when the character you want to include in FontAsset of TextMesh Pro is changed.
Stars: ✭ 17 (-74.24%)
Mutual labels:  textmeshpro, kogane-unity-lib
UniProjectWindowMenuCustomizer
Editor extension that allows you to customize the menu that appears when you right-click on Project view.
Stars: ✭ 18 (-72.73%)
Mutual labels:  kogane-unity-lib
RubyTextMeshPro
Unity Text Mesh Proでルビ(フリガナ)のタグを追加しました.
Stars: ✭ 61 (-7.58%)
Mutual labels:  textmeshpro
DissolveEffectForTMPro
DissolveEffectForTMPro provide dissolve effect component for TextMeshPro in Unity.
Stars: ✭ 86 (+30.3%)
Mutual labels:  textmeshpro
UniHierarchyMenuCustomizer
Editor extension that allows you to customize the menu that appears when you right-click on Hierarchy.
Stars: ✭ 20 (-69.7%)
Mutual labels:  kogane-unity-lib
iPhoneXSafeAreaDrawer
Unity エディタの Game ビューに iPhone X のセーフエリアを表示できるエディタ拡張
Stars: ✭ 20 (-69.7%)
Mutual labels:  kogane-unity-lib
UniSymbol
【Unity】シンボルを簡単に定義できるエディタ拡張
Stars: ✭ 15 (-77.27%)
Mutual labels:  kogane-unity-lib
UniCommandController
A simple library that can control commands to implement event scripts.
Stars: ✭ 15 (-77.27%)
Mutual labels:  kogane-unity-lib
uni-debug-menu
横向きかつクリックやタップ可能なゲームで使用できるカスタマイズ可能なデバッグメニュー
Stars: ✭ 24 (-63.64%)
Mutual labels:  kogane-unity-lib

TMP_Typewriter

Typewriter for TextMesh Pro. TMP_Typewriter prints out characters one by one. ( Required the DOTween. )

Features

  • Support for Rich Text
  • Skippable
  • Can pause and resume
  • OnComplete callback
  • Compatible with CharTweener

Version

  • Unity 2018.3.0f2
  • TextMesh Pro 1.3.0
  • DOTween 1.2.055

How To Use

  1. Download and import .unitypackage from Releases.
  2. Add a TMP_Typewriter component to the GameObject.
  3. Add using KoganeUnityLib; and call the TMP_Typewriter.Play.

Example

Normal

m_typewriter.Play
(
    text        : "ABCDEFG HIJKLMN OPQRSTU",
    speed       : m_speed,
    onComplete  : () => Debug.Log( "Complete !" )
);

Rich Text

m_typewriter.Play
(
    text        : @"<size=64>ABCDEFG</size> <color=red>HIJKLMN</color> <sprite=0> <link=""https://www.google.co.jp/"">OPQRSTU</link>",
    speed       : m_speed,
    onComplete  : () => Debug.Log( "Complete !" )
);

Sprite

m_typewriter.Play
(
    text        : @"<sprite=0><sprite=0><sprite=1><sprite=2><sprite=3><sprite=4><sprite=5><sprite=6><sprite=7><sprite=8><sprite=9><sprite=10>",
    speed       : m_speed,
    onComplete  : () => Debug.Log( "Complete !" )
);

Skip

m_typewriter.Skip();        // with onComplete callback
m_typewriter.Skip( false ); // without onComplete callback

Pause & Resume

m_typewriter.Pause();
m_typewriter.Resume();

Other

Compatible with CharTweener.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].