We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0918dd4 commit c45b8c5Copy full SHA for c45b8c5
Assets.Scripts.Core.TextWindow/TextCharacter.cs
@@ -31,7 +31,7 @@ public string GetCharacter(float delta)
31
time += delta;
32
if (StartTime > time)
33
{
34
- return "<#FFFFFF00>" + ch;
+ return "<alpha=#00>" + ch;
35
}
36
if (ch == ' ')
37
@@ -43,7 +43,7 @@ public string GetCharacter(float delta)
43
44
float t = (time - StartTime) / (FinishTime - StartTime);
45
int num = (int)Mathf.Lerp(0f, 255f, t);
46
- return "<#FFFFFF" + num.ToString("X2") + ">" + ch;
+ return "<alpha=#" + num.ToString("X2") + ">" + ch;
47
48
49
public void Finish()
0 commit comments