最佳实践
查找使用 Text Animator for Unity 时的所有常见最佳实践。
在代码中使用 Text Animator 的“SetText/ShowText”方法,而不是 TMPro
// 一些代码
TMP_Text tmpText;
Febucci.UI.Core.TAnimCore textAnimator;
Febucci.UI.Core.TypewriterCore typewriter;
// [...] 这样做
textAnimator.SetText(value); // 立即设置文本
//或者
typewriter.ShowText(value); // 如果你有打字机则使用它来设置文本只设置整个文本/对话一次
使用 TextAnimator 的“ScheduleMeshRefresh”而不是 TMPro.ForceMeshUpdate()
最后更新于