Ejemplo n.º 1
0
        private void OnOptionCreation(BlueprintType value, DropdownTab tab)
        {
            var hoverable = tab.gameObject.AddComponent <Hoverable>();

            hoverable.onPointerEnter.AddListener(() => Systems.UI.tooltips.blueprintTypeTooltip.Show(value));
            hoverable.onPointerExit.AddListener(() => Systems.UI.tooltips.blueprintTypeTooltip.Hide());
        }
Ejemplo n.º 2
0
 private void SetBlueprintType(BlueprintType blueprintType) => this.blueprintType = blueprintType;