public void TriggerTabLeft() { if (inventoryUI == null) { if ((inventoryUI = FindObjectOfType <InventoryUI>()) == null) { return; } } inventoryUI.ChangeInventoryTab(-1); }