diff --git a/src/Tests/Tests.cs b/src/Tests/Tests.cs index 247585c..4abf002 100644 --- a/src/Tests/Tests.cs +++ b/src/Tests/Tests.cs @@ -139,6 +139,12 @@ namespace UnityExplorer.Tests GameObject.DontDestroyOnLoad(TestTexture); GameObject.DontDestroyOnLoad(TestSprite); + testRefArray = new Il2CppReferenceArray(5); + for (int i = 0; i < 5; i++) + { + testRefArray[i] = "hi " + i; + } + //// test loading a tex from file //var dataToLoad = System.IO.File.ReadAllBytes(@"Mods\UnityExplorer\Tex_Nemundis_Nebula.png"); //ExplorerCore.Log($"Tex load success: {TestTexture.LoadImage(dataToLoad, false)}");