public void Start() { var target = GameObject.Find("i").GetComponent <test4_subs>(); var me = GetComponent <test4_subs>(); string t = SerializeText.Serialize <test4_subs, test4_subs_dataset>(me); SerializeText.DeSerialize <test4_subs, test4_subs_dataset>(ref target, t); }
//Serialization private void button2_Click(object sender, EventArgs e) { serializeText.Serialize(baseWrites.ToArray()); }