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

◆ Texture2D() [6/12]

Microsoft.Xna.Framework.Graphics.Texture2D.Texture2D ( Texture2D texture,
TextureAtlasEntry entry )
inline

Definition at line 340 of file Texture2D.cs.

341 {
342 do
343 {
344 this.PackedEntry = entry;
345 }
346 while (entry.AttachedTexture == null);
347 Debug.LogError("Texture is already attached");
353 this._unityTexture = texture;
354 this._textureLoaded = true;
355 }
class f__AnonymousType0<< Count > j__TPar
static void LogError(object message)
Definition Debug.cs:62

References Microsoft.Xna.Framework.Graphics.Texture2D._unityTexture, TextureAtlasEntry.AttachedTexture, j__TPar, and UnityEngine.Debug.LogError().