T ValueAs<T>(out T value)
Cast an object value to any type
______________________________________________________________________________________________________________________________
T: Value to cast
↩️ Back
ValueAs can be used for value casting
Debug.Log(ModExtraAssets.GetEntry<Texture2D>("MyLoadedTexture").ValueAs<UnityEngine.Object>().GetHashCode());