BattleTextSettings.ShowText C# (CSharp) 메소드

ShowText() 공개 메소드

public ShowText ( string t, Combatant, combatant ) : void
t string
combatant Combatant,
리턴 void
    public void ShowText(string t, Combatant combatant)
    {
        if(this.active && combatant.prefabInstance)
        {
            string txt = this.text[GameHandler.GetLanguage()];
            if(t != "") txt = txt.Replace("%", t);

            this.CreateObjects(combatant).ShowText(txt, combatant.prefabInstance, this);
        }
    }