mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 23:37:59 +01:00
19 lines
445 B
C#
19 lines
445 B
C#
using UnityEngine;
|
|
|
|
namespace Fie.UI
|
|
{
|
|
public class FieSkillTreeReminingSkillPointsUI : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private FieUIConstant2DText _reminingPointsText;
|
|
|
|
public void InithWithSkillPoint(int skillPoint)
|
|
{
|
|
_reminingPointsText.replaceMethod = delegate(ref string targetString)
|
|
{
|
|
targetString = targetString.Replace("___Value1___", skillPoint.ToString());
|
|
};
|
|
_reminingPointsText.InitializeText();
|
|
}
|
|
}
|
|
}
|