| | |
| | | GameObject go = transform.Find("Image_TowerPos2").gameObject; |
| | | |
| | | Image btnImg = go.GetComponent<Image>(); |
| | | btnImg.raycastTarget=false; |
| | | InitRectGuidance(btnImg, 75, 80); |
| | | SetRimPos(go); |
| | | maskObj.ShowImmediately(); |
| | |
| | | { |
| | | if (currentIndex == 0) |
| | | { |
| | | |
| | | SetRimActive(true); |
| | | //设置位置 |
| | | AddButtonListener(towerBuyBtn, ac); |
| | |
| | | { |
| | | GameObject go = transform.Find("Image_TowerPos2").gameObject; |
| | | Image btnImg = go.GetComponent<Image>(); |
| | | btnImg.raycastTarget=true; |
| | | InitRectGuidance(btnImg, 75, 80); |
| | | SetRimPos(go); |
| | | maskObj.ShowImmediately(); |