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

◆ DrawControlIcon()

static void GUITransactionButton.DrawControlIcon ( TransactionButton_Layout layout,
Microsoft::Xna::Framework::Graphics::Texture2D backing,
Microsoft::Xna::Framework::Graphics::Color iconColour,
float scale,
bool hasControllerFocus )
inlinestaticprivate

Definition at line 118 of file GUITransactionButton.cs.

119 {
120 if (layout.DrawControlsIconOnFocus)
121 {
123 int iconMaxSizeInset = layout.IconMaxSizeInset;
124 int width = backing.Width;
125 int arraySize = backing.ArraySize;
126 float x = layout.ControlIconOffset.X;
127 float y = layout.ControlIconOffset.Y;
128 return;
129 }
130 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, and UnityEngine.layout.