Files

18 lines
511 B
C#
Raw Permalink Normal View History

2022-09-22 19:17:03 +03:00
using UnityEngine;
using TMPro;
public class CommandFramedata : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI _moveType = default;
[SerializeField] private TextMeshProUGUI _damage = default;
2022-09-24 12:46:15 +03:00
[SerializeField] private TextMeshProUGUI _chipDamage = default;
2022-09-22 19:17:03 +03:00
2022-09-25 16:08:45 +03:00
public void SetFramedata(AttackSO command)
2022-09-22 19:17:03 +03:00
{
_moveType.text = command.attackTypeEnum.ToString();
_damage.text = command.damage.ToString();
2022-09-25 16:08:45 +03:00
_chipDamage.text = command.isArcana ? "250" : "0";
2022-09-22 19:17:03 +03:00
}
}