示例#1
0
 public void ToolipSelectedTower()
 {
     if (towerAI != null)
     {
         Tooltip.CreateTowerTooltip_Static(towerAI.tower, towerAI.attackDmgMultiplier, towerAI.attackRateMultiplier);
     }
 }
示例#2
0
    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;
    }
示例#3
0
    public override void OnPointerEnter(PointerEventData eventData)
    {
        Tooltip.CreateTowerTooltip_Static(tower);

        base.OnPointerEnter(eventData);
    }