using TMPro; namespace Game; [UIType(UIType.GlobalLogOnlyAppUI)] public class GlobalLogOnlyAppUI : UIBase { private TMP_Text txt_Content; public override void Init() { base.Init(); this.txt_Content = this.self.transform.FindChildDeep("txt_Content"); } public override void Dispose() { base.Dispose(); } public void AddLog(string message) { this.txt_Content.text += message + "\n"; } }