24 lines
550 B
C#
24 lines
550 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
namespace ZC
|
|
{
|
|
class UIInfo : MonoBehaviour
|
|
{
|
|
// [SerializeField] public IUI ui;
|
|
// public TMP_FontAsset font;
|
|
//
|
|
// public void SetStart(IUI ui, TMP_FontAsset font)
|
|
// {
|
|
// this.ui = ui;
|
|
// this.font = font;
|
|
//
|
|
// return;
|
|
// var findChildDeeps = this.transform.FindChildDeeps<TMP_Text>();
|
|
// foreach (var tmpText in findChildDeeps)
|
|
// {
|
|
// tmpText.font = font;
|
|
// }
|
|
// }
|
|
}
|
|
} |