Forum rules - please read before posting.

Right-click to drop inventory while inventory box is open?

2»

Comments

  • Try updating the PlayerInteraction script's UpdateInventory function with the following:

    public void UpdateInventory ()
    {
        if (hotspot == null && button == null && IsDroppingInventory ())
        {
            if (KickStarter.playerMenus.EventSystem && KickStarter.playerMenus.EventSystem.IsPointerOverGameObject () && !KickStarter.settingsManager.InventoryDragDrop)
            {
                if (KickStarter.playerMenus.IsMouseOverMenu () && !KickStarter.playerMenus.CanCurrentlyRightClick ()) {}
                else if (!AC.KickStarter.settingsManager.unityUIClicksAlwaysBlocks) {}
                else return;
            }
            KickStarter.runtimeInventory.SetNull ();
        }
    }
    
  • Yes that worked! Thank you so much! :)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.