//------------------------------------------------------------ // Game Framework // Copyright © 2013-2021 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ using UnityEngine; namespace UnityGameFramework.Runtime { /// /// 界面字符型主键。 /// public sealed class UIStringKey : MonoBehaviour { [SerializeField] private string m_Key = null; /// /// 获取或设置主键。 /// public string Key { get { return m_Key ?? string.Empty; } set { m_Key = value; } } } }