Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit fd50996

Browse files
committed
Merge remote-tracking branch 'origin/master' into 3.0.0-rewrite
2 parents 5207b1a + f4ba14c commit fd50996

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Tests/Tests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ public TestClass()
139139
GameObject.DontDestroyOnLoad(TestTexture);
140140
GameObject.DontDestroyOnLoad(TestSprite);
141141

142+
testRefArray = new Il2CppReferenceArray<Il2CppSystem.Object>(5);
143+
for (int i = 0; i < 5; i++)
144+
{
145+
testRefArray[i] = "hi " + i;
146+
}
147+
142148
//// test loading a tex from file
143149
//var dataToLoad = System.IO.File.ReadAllBytes(@"Mods\UnityExplorer\Tex_Nemundis_Nebula.png");
144150
//ExplorerCore.Log($"Tex load success: {TestTexture.LoadImage(dataToLoad, false)}");

0 commit comments

Comments
 (0)