You've already forked Darklings-FightingGame
mirror of
https://github.com/izzy2lost/Darklings-FightingGame.git
synced 2026-03-10 11:35:19 -07:00
18 lines
397 B
C#
18 lines
397 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Text.RegularExpressions;
|
||
|
|
using TMPro;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class OnlineErrorMenu : BaseMenu
|
||
|
|
{
|
||
|
|
[SerializeField] private TextMeshProUGUI _errorText = default;
|
||
|
|
|
||
|
|
|
||
|
|
public void Show(string errorText)
|
||
|
|
{
|
||
|
|
base.Show();
|
||
|
|
_errorText.text = Regex.Replace(errorText, "([a-z])([A-Z])", "$1 $2"); ;
|
||
|
|
}
|
||
|
|
}
|