Пример #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());
        }
Пример #2
0
 private void SetBlueprintType(BlueprintType blueprintType) => this.blueprintType = blueprintType;