BattleText.ShowText C# (CSharp) Method

ShowText() public method

public ShowText ( string t, GameObject c, BattleTextSettings, ts ) : void
t string
c GameObject
ts BattleTextSettings,
return void
    public void ShowText(string t, GameObject c, BattleTextSettings ts)
    {
        this.combatant = c;
        this.settings = ts;
        if(this.InitSettings())
        {
            this.text = t;
            this.cam = Camera.main;
            if(!GameHandler.GetLevelHandler().useGUILayout) GameHandler.GUIHandler().AddBattleTextSprite(this);
        }
    }