refactor: Code cleanup

This commit is contained in:
2025-04-08 10:00:47 +08:00
parent ef5cf78a03
commit 5f78a1afde

View File

@@ -12,8 +12,8 @@ namespace Cryville.EEW.Unity.UI {
_textView = GetComponent<TMP_Text>();
}
StringBuilder _sb = new();
char[] _buffer = new char[256];
readonly StringBuilder _sb = new();
readonly char[] _buffer = new char[256];
void Update() {
_sb.Clear();
_sb.AppendFormat(