mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-31 03:22:14 +00:00
33 lines
686 B
C#
33 lines
686 B
C#
// using System.Collections;
|
|
// using System.Collections.Generic;
|
|
// using UnityEngine;
|
|
// using TMPro;
|
|
//
|
|
// public class textBoxTMP : MonoBehaviour
|
|
// {
|
|
// private TMP_Text textBox;
|
|
// private string text;
|
|
// // Start is called before the first frame update
|
|
// void Start()
|
|
// {
|
|
// textBox = this.gameObject.GetComponent<TMP_Text>();
|
|
// Clear();
|
|
// }
|
|
//
|
|
//
|
|
// public void appendtext(string text)
|
|
// {
|
|
// this.text += text;
|
|
// textBox.text = this.text;
|
|
//
|
|
// return;
|
|
// }
|
|
// public void Clear()
|
|
// {
|
|
// this.text = "";
|
|
// textBox.text = this.text;
|
|
//
|
|
// return;
|
|
// }
|
|
// }
|