提交
This commit is contained in:
@@ -152,7 +152,7 @@ public class MouseFollowAndZoom : MonoBehaviour
|
||||
// 设置目标框的位置
|
||||
RectTransform indicatorRectTransform = targetIndicator.GetComponent<RectTransform>();
|
||||
indicatorRectTransform.position = worldCenter;
|
||||
indicatorRectTransform.sizeDelta=new Vector2(worldSize.x, worldSize.y)*1.2f;
|
||||
indicatorRectTransform.sizeDelta=new Vector2(worldSize.x, worldSize.y);
|
||||
|
||||
// 设置目标名称
|
||||
targetNameText.text = currentTarget.name + " " +
|
||||
|
||||
Reference in New Issue
Block a user