NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Gameplay/Debug/SROptions.Pay.cs

23 lines
586 B
C#
Raw Normal View History

2024-11-25 16:52:19 +08:00
using System.ComponentModel;
public partial class SROptions
{
2024-11-28 13:04:45 +08:00
[Category("微信支付"), DisplayName("测试")]
public bool DebugPay
{
get => WXPayHandle.Instance.DebugMode;
set => WXPayHandle.Instance.DebugMode = value;
}
[Category("微信支付"), DisplayName("测试类初始化")]
public void InitWxPayDebug()
{
WXPayHandle.Instance.InitWxPayDebug();
}
2024-11-25 16:52:19 +08:00
[Category("微信支付"), DisplayName("调起微信支付")]
public void WxPay()
{
2024-11-26 12:29:47 +08:00
WXPayHandle.Instance.BuyGoods(1, 1);
2024-11-25 16:52:19 +08:00
}
}