You've already forked Darklings-FightingGame
mirror of
https://github.com/izzy2lost/Darklings-FightingGame.git
synced 2026-03-10 11:35:19 -07:00
18 lines
511 B
C#
18 lines
511 B
C#
using UnityEngine;
|
|
using TMPro;
|
|
|
|
public class CommandFramedata : MonoBehaviour
|
|
{
|
|
[SerializeField] private TextMeshProUGUI _moveType = default;
|
|
[SerializeField] private TextMeshProUGUI _damage = default;
|
|
[SerializeField] private TextMeshProUGUI _chipDamage = default;
|
|
|
|
|
|
public void SetFramedata(AttackSO command)
|
|
{
|
|
_moveType.text = command.attackTypeEnum.ToString();
|
|
_damage.text = command.damage.ToString();
|
|
_chipDamage.text = command.isArcana ? "250" : "0";
|
|
}
|
|
}
|