//------------------------------------------------------------ // Game Framework // Copyright © 2013-2021 loyalsoft. All rights reserved. // Homepage: http://www.game7000.com/ // Feedback: http://www.game7000.com/ //------------------------------------------------------------ using UnityEngine; namespace UnityGameFramework.Runtime { /// /// 界面整型主键。 /// public sealed class UIIntKey : MonoBehaviour { [SerializeField] private int m_Key = 0; /// /// 获取或设置主键。 /// public int Key { get { return m_Key; } set { m_Key = value; } } } }