2021-04-04 03:41:36 +10:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace UnityExplorer
|
|
|
|
|
{
|
|
|
|
|
public static class TestClass
|
|
|
|
|
{
|
2021-04-04 13:44:58 +10:00
|
|
|
|
#if CPP
|
|
|
|
|
public static string testStringOne = "Test";
|
|
|
|
|
public static Il2CppSystem.Object testStringTwo = "string boxed as cpp object";
|
|
|
|
|
public static Il2CppSystem.String testStringThree = "string boxed as cpp string";
|
|
|
|
|
public static string nullString = null;
|
|
|
|
|
|
2021-04-04 03:41:36 +10:00
|
|
|
|
public static Il2CppSystem.Collections.Hashtable testHashset;
|
|
|
|
|
|
|
|
|
|
static TestClass()
|
|
|
|
|
{
|
|
|
|
|
testHashset = new Il2CppSystem.Collections.Hashtable();
|
|
|
|
|
testHashset.Add("key1", "itemOne");
|
|
|
|
|
testHashset.Add("key2", "itemTwo");
|
|
|
|
|
testHashset.Add("key3", "itemThree");
|
|
|
|
|
}
|
|
|
|
|
#endif
|
2021-04-04 13:44:58 +10:00
|
|
|
|
}
|
2021-04-04 03:41:36 +10:00
|
|
|
|
}
|