SynicSugarAccount
Namespace: SynicSugar.Auth
Description
Manage account to sing in.
Function
API | description |
---|---|
DeleteAccount | Delete Account for sing in |
using UnityEngine;
using Cysharp.Threading.Tasks;
using SynicSugar.Auth;
public class Login : MonoBehaviour {
public async UniTask DeleteDeviceIDRequest()
{
var result = await SynicSugarAccount.DeleteAccount();
if(result == Result.Success)
{
SynicSugarDebug.Instance.Log("Delete DeviceID: Success.");
return;
}
SynicSugarDebug.Instance.Log("Delete DeviceID: Failare.");
}
}