PickupVerb() public méthode

public PickupVerb ( ) : string
Résultat string
    /// <summary>
    /// Handles hovering over the slot
    /// </summary>
    public void OnHoverEnter()
    {
        Hovering = true;
        UWHUD.instance.ContextMenu.text = "";
        ObjectInteraction objInt = UWCharacter.Instance.playerInventory.GetObjectIntAtSlot(slotIndex);

        if (objInt != null)
        {
            string ObjectName = "";
            string UseString  = "";
            ObjectName = objInt.GetComponent <object_base>().ContextMenuDesc(objInt.item_id);
            if (CurrentObjectInHand == null)
            {
                switch (UWCharacter.InteractionMode)
                {
                case UWCharacter.InteractionModeUse:
                    UseString = "L-Click to " + objInt.UseVerb() + " R-Click to " + objInt.PickupVerb();
                    break;

                case UWCharacter.InteractionModeLook:
                    UseString = "L-Click to " + objInt.UseVerb() + " R-Click to " + objInt.ExamineVerb();
                    break;

                case UWCharacter.InteractionModePickup:
                    UseString = "L-Click to " + objInt.UseVerb() + " R-Click to " + objInt.PickupVerb();
                    break;
                }
            }
            else
            {
                UseString = "L-Click to " + objInt.UseObjectOnVerb_Inv();
            }
            UWHUD.instance.ContextMenu.text = ObjectName + "\n" + UseString;
        }
    }
    /// <summary>
    /// Handles hovering over the slot
    /// </summary>
    public void OnHoverEnter()
    {
        //if (UWCharacter.Instance.playerInventory.ObjectInHand!="")
        //{
        //	return;
        //}
        Hovering = true;
        UWHUD.instance.ContextMenu.text = "";
        GameObject currObj = UWCharacter.Instance.playerInventory.GetGameObjectAtSlot(slotIndex);

        if (currObj != null)
        {
            ObjectInteraction objInt = currObj.GetComponent <ObjectInteraction>();
            if (objInt != null)
            {
                string ObjectName = "";
                string UseString  = "";
                //ObjectName=StringController.instance.GetSimpleObjectNameUW(objInt.item_id);
                ObjectName = objInt.GetComponent <object_base>().ContextMenuDesc(objInt.item_id);
                if (UWCharacter.Instance.playerInventory.ObjectInHand == "")
                {
                    switch (UWCharacter.InteractionMode)
                    {
                    case UWCharacter.InteractionModeUse:
                        UseString = "L-Click to " + objInt.UseVerb() + " R-Click to " + objInt.PickupVerb();
                        break;

                    case UWCharacter.InteractionModeLook:
                        UseString = "L-Click to " + objInt.UseVerb() + " R-Click to " + objInt.ExamineVerb();
                        break;

                    case UWCharacter.InteractionModePickup:
                        UseString = "L-Click to " + objInt.UseVerb() + " R-Click to " + objInt.PickupVerb();
                        break;
                    }
                }
                else
                {
                    UseString = "L-Click to " + objInt.UseObjectOnVerb_Inv();
                }
                UWHUD.instance.ContextMenu.text = ObjectName + "\n" + UseString;
            }
        }
    }