mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2024-12-23 01:59:40 +08:00
Merge remote-tracking branch 'origin/master' into 3.0.0-rewrite
This commit is contained in:
commit
fd50996cb2
@ -139,6 +139,12 @@ namespace UnityExplorer.Tests
|
||||
GameObject.DontDestroyOnLoad(TestTexture);
|
||||
GameObject.DontDestroyOnLoad(TestSprite);
|
||||
|
||||
testRefArray = new Il2CppReferenceArray<Il2CppSystem.Object>(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)}");
|
||||
|
Loading…
Reference in New Issue
Block a user