示例#1
0
        private void OpenInventory()
        {
            Inventory      inventory = UIManager.GetMenu <Inventory>();
            InGameMainMenu igmm      = UIManager.GetMenu <InGameMainMenu>();

            inventory.Open(true);
            igmm.OpenInventoryTransfer(true, false);
        }
示例#2
0
        public override void Interact()
        {
            if (Interactible)
            {
                LogMenu        logMenu = UIManager.GetMenu <LogMenu>();
                InGameMainMenu igmm    = UIManager.GetMenu <InGameMainMenu>();

                logMenu.AddLog(log);
                igmm.OpenLogs();

                Destroy(gameObject);
            }
        }