Пример #1
0
    protected override void ExitView()
    {
        Debug.Log("Caught Exit Input: Exiting submenu from ItemChoicesInputManager");

        // exit item choices and go back to inventory
        gameObject.SetActive(false);
        inventoryManager.HandleItemChoice(ItemChoices.Cancel, -1);
    }
Пример #2
0
 /// <summary>
 /// called from Item Choice OnClick handler
 /// </summary>
 public override void HandleSelect()
 {
     inventoryManager.HandleItemChoice(itemChoice, itemChoices.itemSlotId);
 }