1234567891011121314151617181920212223 |
- using TMPro;
- using UnityEngine;
- namespace Comp
- {
- public class BattleResultComp : MonoBehaviour
- {
- public TextMeshProUGUI textValue;
- public string tag;
- public void SetValue(string value)
- {
- textValue.text = value;
- }
- public bool IsWin()
- {
- return tag == "win";
- }
- }
- }
|