-
Notifications
You must be signed in to change notification settings - Fork 72
RuntimeHelper
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.
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.
In IL2CPP, there are some additional helper classes for things which are commonly stripped or require special usage.
-
UniverseLib.AssetBundleis a replacement class forUnityEngine.AssetBundle, in games where the functionality is broken or stripped. -
UniverseLib.Runtime.Il2Cpp.ICallManageris a helper class for invoking icalls (internal calls to native Unity methods).