|
@@ -17,9 +17,9 @@ namespace GFGGame
|
|
|
|
|
|
public Action typeFinishedAction;
|
|
|
// 出现下一个字符的间隔
|
|
|
- public float showNextWordInternal = 0.06f;
|
|
|
+ protected float showNextWordInternal = 0.06f;
|
|
|
// 字符渐变时间
|
|
|
- protected float charFadeDuration = 0.08f;
|
|
|
+ protected float charFadeDuration = 0.15f;
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
@@ -264,8 +264,9 @@ namespace GFGGame
|
|
|
|
|
|
public void SetSpeed(float speed)
|
|
|
{
|
|
|
- charFadeDuration /= speed;
|
|
|
+ //charFadeDuration /= speed;
|
|
|
showNextWordInternal /= speed;
|
|
|
+ charFadeDuration = showNextWordInternal + 0.05f;
|
|
|
}
|
|
|
|
|
|
}
|