private void OpenInventory() { Inventory inventory = UIManager.GetMenu <Inventory>(); InGameMainMenu igmm = UIManager.GetMenu <InGameMainMenu>(); inventory.Open(true); igmm.OpenInventoryTransfer(true, false); }
public override void Interact() { if (Interactible) { LogMenu logMenu = UIManager.GetMenu <LogMenu>(); InGameMainMenu igmm = UIManager.GetMenu <InGameMainMenu>(); logMenu.AddLog(log); igmm.OpenLogs(); Destroy(gameObject); } }