52 lines
714 B
C#
52 lines
714 B
C#
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel;
|
|
|
|
using Gameplay;
|
|
|
|
using Gameplay.Character;
|
|
|
|
using Gameplay.Level;
|
|
|
|
using Gameplay.SubSystems;
|
|
using PhxhSDK;
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public partial class SROptions
|
|
|
|
{
|
|
|
|
|
|
[Category("TapTapDB")]
|
|
|
|
public void SetName()
|
|
{
|
|
#if SDK_TAPTAP
|
|
var helper = SDKManager.Instance.GetSdkHelper(SDKManager.SdkName.TapTap) as TapTapSdkHelper;
|
|
|
|
helper.SetName("123");
|
|
#endif
|
|
}
|
|
|
|
|
|
[Category("TapTapDB")]
|
|
|
|
public void SetTestAttri()
|
|
{
|
|
#if SDK_TAPTAP
|
|
var helper = SDKManager.Instance.GetSdkHelper(SDKManager.SdkName.TapTap) as TapTapSdkHelper;
|
|
|
|
helper.SetUserProperty("testProperty","testValue");
|
|
#endif
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|