using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Test : MonoBehaviour { public List testlist = new List(); [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)); } }