25 lines
583 B
C#
25 lines
583 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using DG.Tweening;
|
|
|
|
namespace MMO
|
|
{
|
|
public class MMOUIHelp : MMOUIPop
|
|
{
|
|
[SerializeField] Button mBtnContact;
|
|
|
|
protected override void OnInit()
|
|
{
|
|
base.OnInit();
|
|
|
|
BindBtn(mBtnContact, OnClickContact);
|
|
}
|
|
|
|
private void OnClickContact()
|
|
{
|
|
Application.OpenURL(string.Format("mailto:{0}?subject={1}", MMOConstConfig.Instance.EMail, Application.productName.Replace(" ", "")));
|
|
}
|
|
}
|
|
} |