rc 1.0
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
[RequireComponent(typeof(TMP_Text))]
|
||||
public class CopyTextTMP : MonoBehaviour
|
||||
{
|
||||
public TMP_Text origin;
|
||||
|
||||
TMP_Text _text;
|
||||
void Awake()
|
||||
{
|
||||
_text = GetComponent<TMP_Text>();
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
_text.text = origin.text;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 981262cae0f1178448cf21d0273828dc
|
||||
Reference in New Issue
Block a user