terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ UnityTexture

Texture2D Microsoft.Xna.Framework.Graphics.Texture2D.UnityTexture
get

Definition at line 194 of file Texture2D.cs.

195 {
196 get
197 {
198 if (this._textureLoaded)
199 {
200 return this._unityTexture;
201 }
203 if (textureAtlas != null)
204 {
206 textureAtlas.LoadTexturesAsync(atlasIndex);
207 }
208 string sourceLoadAsset = this._sourceLoadAsset;
209 bool flag = string.IsNullOrEmpty(sourceLoadAsset);
210 this.LoadSourceTexture();
215 int atlasIndex2 = packedEntry.AtlasIndex;
216 Texture2D texture2D2 = textureAtlas2.AltlasAlphaTexture(atlasIndex2);
220 int atlasIndex3 = packedEntry2.AtlasIndex;
221 Texture2D texture2D3 = textureAtlas3.AltlasPalTexture(atlasIndex3);
224 this._textureLoaded = true;
228 return unityTexture2;
229 }
230 }
class f__AnonymousType0<< Count > j__TPar
void LoadTexturesAsync(int index)