You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
310 B
C#
21 lines
310 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
namespace Projectiles.UI
|
|
{
|
|
public class UIWeaponItem : UIListItemBase<UIWeapon>
|
|
{
|
|
// PRIVATE MEMBERS
|
|
|
|
[SerializeField]
|
|
private TextMeshProUGUI _indexText;
|
|
|
|
// MONOBEHAVIOUR
|
|
|
|
protected void Start()
|
|
{
|
|
_indexText.text = (Content.Slot + 1).ToString();
|
|
}
|
|
}
|
|
}
|