chainsafe-test/Assets/Web3Unity/Scripts/Prefabs/Wallet/Web3WalletLogOut.cs
2023-11-28 11:36:18 +05:30

14 lines
285 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Web3WalletLogOut : MonoBehaviour
{
public void OnLogOut()
{
PlayerPrefs.SetString("Account", "");
SceneManager.LoadScene(0);
}
}