FiE-Game/Assets/Scripts/Fie/UI/FieLobbySelectableUIHeader.cs

20 lines
389 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using UnityEngine;
namespace Fie.UI
{
public class FieLobbySelectableUIHeader : MonoBehaviour
{
[SerializeField]
private FieUIConstant2DText _titleText;
[SerializeField]
private FieUIConstant2DText _descText;
public void SetHeaderTexts(string titleText, string descText)
{
_titleText.TmpTextObject.text = titleText;
_descText.TmpTextObject.text = descText;
}
}
}