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

RuntimeHelper

Sinai edited this page Jan 31, 2022 · 3 revisions

The UniverseLib.RuntimeHelper class contains helpers for normalizing some of the differences between Mono and IL2CPP, particularly in regards to Unity API.

Currently, the class mainly contains some helpers for UnityExplorer for things like using Coroutines, Resources.FindObjectsOfTypeAll, scene.GetRootGameObjects, and other Unity API functions.

See the RuntimeHelper class for more details about the available helpers, as well as the Runtime namespace.

TextureHelper

The TextureHelper class contains runtime helpers specifically related to Texture2Ds.

It contains some replacement methods for commonly stripped methods, as well as some general utility such as ForceReadTexture (for reading non-readable Textures), SaveTextureAsPNG, etc.

IL2CPP Helpers

In IL2CPP, there are some additional helper classes for things which are commonly stripped or require special usage.

Clone this wiki locally