| | |
| | | [SerializeField] ScrollRect m_IssueScrollRect;
|
| | | [SerializeField] UserIssueBehaviour m_IssueBehaviourPattern;
|
| | | [SerializeField] RectTransform m_ContactContainer;
|
| | | [SerializeField] Text m_QQTitle;
|
| | | [SerializeField] Text m_QQ;
|
| | | [SerializeField] Text m_Phone;
|
| | | [SerializeField] Button m_CopyQQ;
|
| | |
| | |
|
| | | private void InitContact()
|
| | | {
|
| | | var config = Config.Instance.Get<ContactConfig>(VersionConfig.Get().appId);
|
| | | m_QQ.text = Language.GetFromLocal(31, config.qq);
|
| | | var config = ContactConfig. GetConfig(VersionConfig.Get().appId, VersionConfig.Get().branch);
|
| | |
|
| | | m_QQTitle.text = Language.GetFromLocal(31);
|
| | | var qqContent = config.qq.Split('|');
|
| | | m_QQ.text = string.Join("\r\n", qqContent);
|
| | | m_CopyQQ.gameObject.SetActive(qqContent.Length == 1);
|
| | |
|
| | | m_Phone.text = Language.GetFromLocal(32, config.phone);
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | if (Application.isMobilePlatform)
|
| | | {
|
| | | var config = Config.Instance.Get<ContactConfig>(VersionConfig.Get().appId);
|
| | | SDKUtility.Instance.CopyContent(config.qq);
|
| | | var config = ContactConfig.GetConfig(VersionConfig.Get().appId, VersionConfig.Get().branch);
|
| | | SDKUtility.Instance.CopyContent(m_QQ.text);
|
| | | m_CopySucceedTip.Display(Language.GetFromLocal(33));
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | if (Application.isMobilePlatform)
|
| | | {
|
| | | var config = Config.Instance.Get<ContactConfig>(VersionConfig.Get().appId);
|
| | | var config = ContactConfig.GetConfig(VersionConfig.Get().appId, VersionConfig.Get().branch);
|
| | | SDKUtility.Instance.CopyContent(config.phone);
|
| | | m_CopySucceedTip.Display(Language.GetFromLocal(33));
|
| | | }
|