public void ToolipSelectedTower() { if (towerAI != null) { Tooltip.CreateTowerTooltip_Static(towerAI.tower, towerAI.attackDmgMultiplier, towerAI.attackRateMultiplier); } }
public void CreateTooltip() { TowerAI _TowerAI = Selector.selectedObject.GetComponent <TowerAI>(); Tooltip.CreateTowerTooltip_Static(upgradedTower, _TowerAI.attackDmgMultiplier, _TowerAI.attackRateMultiplier); Transform _range = Selector.selectedObject.transform.Find("Range"); _range.localScale = Vector2.one * upgradedTower.range * 2 * _TowerAI.rangeMultiplier; }
public override void OnPointerEnter(PointerEventData eventData) { Tooltip.CreateTowerTooltip_Static(tower); base.OnPointerEnter(eventData); }