Files
JJBB/Assets/Project/Script/GUI/PlayerInfo/OtherPlayerCombatItem.cs

21 lines
496 B
C#
Raw Normal View History

2024-08-23 15:49:34 +08:00
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class OtherPlayerCombatItem : MonoBehaviour {
public Text itemTile;
public Text selfCombatValue;
public Text otherPlayerCombatValue;
public OtherCombatInfoPanelCtr.CombatValueType type;
public void InitInfo(string o_Value, string m_Value, string titleDesc)
{
otherPlayerCombatValue.text = o_Value;
selfCombatValue.text = m_Value;
itemTile.text = titleDesc;
}
}