using UnityEngine; public class CharIdx : MonoBehaviour { public int m_Idx { get; protected set; } public int m_CardId { get; protected set; } public void SetIdx(int idx) { m_Idx = idx; } public int GetIdx() { return m_Idx; } public void SetCardId(int cardid) { m_CardId = cardid; } public int GetCardId() { return m_CardId; } }