1234567891011121314151617181920212223242526272829303132333435 |
- //------------------------------------------------------------
- // Game Framework
- // Copyright © 2013-2021 loyalsoft. All rights reserved.
- // Homepage: http://www.game7000.com/
- // Feedback: http://www.game7000.com/
- //------------------------------------------------------------
- using UnityEngine;
- namespace UnityGameFramework.Runtime
- {
- /// <summary>
- /// 界面字符型主键。
- /// </summary>
- public sealed class UIStringKey : MonoBehaviour
- {
- [SerializeField]
- private string m_Key = null;
- /// <summary>
- /// 获取或设置主键。
- /// </summary>
- public string Key
- {
- get
- {
- return m_Key ?? string.Empty;
- }
- set
- {
- m_Key = value;
- }
- }
- }
- }
|