提交新的效果
This commit is contained in:
@@ -161,6 +161,32 @@ namespace AibisDream.MiniGame.Language
|
||||
textMesh.text = currentChar;
|
||||
}
|
||||
|
||||
public void ForceSetCharacter(string character)
|
||||
{
|
||||
currentChar = character;
|
||||
UpdateText();
|
||||
}
|
||||
|
||||
public void SetStaticState(bool value)
|
||||
{
|
||||
isStatic = value;
|
||||
}
|
||||
|
||||
public void SetCalmedState(bool value)
|
||||
{
|
||||
isCalmed = value;
|
||||
}
|
||||
|
||||
public void SetChangeInterval(float interval)
|
||||
{
|
||||
changeInterval = Mathf.Max(0.02f, interval);
|
||||
}
|
||||
|
||||
public void ResetChangeTimer(float timer)
|
||||
{
|
||||
changeTimer = timer;
|
||||
}
|
||||
|
||||
protected virtual void UpdateVisuals()
|
||||
{
|
||||
if (textMesh != null)
|
||||
|
||||
Reference in New Issue
Block a user