33 lines
650 B
C#
33 lines
650 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Test : MonoBehaviour
|
|
{
|
|
public List<int> testlist = new List<int>();
|
|
[ContextMenu("test")]
|
|
public void test()
|
|
{
|
|
}
|
|
|
|
[ContextMenu("test2")]
|
|
public void test2()
|
|
{
|
|
Crypto cr = new Crypto();
|
|
string testdd = cr.Compress("testdata");
|
|
Debug.Log(testdd);
|
|
Debug.Log(cr.Decompress(testdd));
|
|
}
|
|
|
|
|
|
[ContextMenu("ResetData")]
|
|
public void ResetData()
|
|
{
|
|
PlayerPrefs.SetString("e", "");
|
|
PlayerPrefs.SetString("version", "");
|
|
PlayerPrefs.SetString("uuid", "");
|
|
Debug.Log("Reset");
|
|
}
|
|
|
|
|
|
}
|