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

◆ ShouldLockTileUsage()

bool Terraria.GameInput.TriggersSet.ShouldLockTileUsage ( )
inlineprivate

Definition at line 853 of file TriggersSet.cs.

854 {
855 if (PlayerInput.LockGamepadTileUseButton)
856 {
857 return PlayerInput.UsingGamepad;
858 }
859 return false;
860 }

References Terraria.GameInput.PlayerInput.LockGamepadTileUseButton, and Terraria.GameInput.PlayerInput.UsingGamepad.

Referenced by Terraria.GameInput.TriggersSet.CopyInto(), and Terraria.GameInput.TriggersSet.CopyIntoDuringChat().