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; } }