public static InventoryBackPackToggle ( bool show ) : void | ||
show | bool | |
return | void |
public static void InventoryBackPackToggle(bool show)
{
bool InvVisible = InventoryBackpackVisible();
if (InvVisible && !show)
UIElements.BackgroundScreenPCButtonInventory.Click();
else if (!InvVisible && show)
UIElements.BackgroundScreenPCButtonInventory.Click();
}