22 lines
537 B
C#
22 lines
537 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using TMPro;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class SecondInfo : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField] private TMP_Text InfoName;
|
||
|
[SerializeField] private TMP_Text InfoWordDescription;
|
||
|
[SerializeField] private TMP_Text InfoFuncDescription;
|
||
|
|
||
|
public void SetSecondPanel(UI_InformationPanel.BTInfo info)
|
||
|
{
|
||
|
InfoName.text = info.BITName;
|
||
|
InfoWordDescription.text = info.BTIDescription;
|
||
|
InfoFuncDescription.text = info.BTIWordDescription;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|