mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 14:17:51 +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(TestTexture);
|
||||||
GameObject.DontDestroyOnLoad(TestSprite);
|
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
|
//// test loading a tex from file
|
||||||
//var dataToLoad = System.IO.File.ReadAllBytes(@"Mods\UnityExplorer\Tex_Nemundis_Nebula.png");
|
//var dataToLoad = System.IO.File.ReadAllBytes(@"Mods\UnityExplorer\Tex_Nemundis_Nebula.png");
|
||||||
//ExplorerCore.Log($"Tex load success: {TestTexture.LoadImage(dataToLoad, false)}");
|
//ExplorerCore.Log($"Tex load success: {TestTexture.LoadImage(dataToLoad, false)}");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user