TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ hide

bool Terraria.NPC.hide

Indicates that this NPC is drawn at a specific layer in the render order. Must use in conjunction with M:Terraria.ModLoader.ModNPC.DrawBehind(System.Int32).
See ExampleDrawBehindNPCfor examples of how to use this and all available layers to draw in.

Definition at line 1098 of file NPC.cs.

Referenced by Terraria.NPC.AI_003_Fighters(), Terraria.NPC.AI_121_QueenSlime(), Terraria.NPC.SetDefaults(), and Terraria.NPC.VanillaAI_Inner().