Open() public method

public Open ( string name, string description, Vector3 location, bool inventory = true ) : void
name string
description string
location UnityEngine.Vector3
inventory bool
return void
Esempio n. 1
0
        public void ShowToolTip(Ingredient ingredient)
        {
            HoverTip hoverTip = UIManager.GetMenu <HoverTip>();

            hoverTip.Open(ingredient.displayName, ingredient.description, Input.mousePosition, false);
        }
Esempio n. 2
0
        public virtual void OpenHoverTooltip()
        {
            HoverTip hoverTooltip = UIManager.GetMenu <HoverTip>();

            hoverTooltip.Open(slotIngredient.displayName, slotIngredient.description, Input.mousePosition);
        }