상단 UI 디자인 작업
This commit is contained in:
@@ -15,7 +15,6 @@ namespace CHN
|
||||
Image MiniMapScreen;
|
||||
RectTransform Image_MiniMapIcon;
|
||||
TextMeshProUGUI Text_MiniMapFloor;
|
||||
Button Button_Close;
|
||||
|
||||
Vector2 worldMin = new Vector2(-40.25f, -32.0f);
|
||||
Vector2 worldMax = new Vector2(57.25f, 31.0f);
|
||||
@@ -26,8 +25,7 @@ namespace CHN
|
||||
public override void AfterAwake()
|
||||
{
|
||||
target = FindSingle<OrbitalControllerTarget>();
|
||||
|
||||
Button_Close.onClick.AddListener(Deactivate);
|
||||
SetActive(false);
|
||||
}
|
||||
|
||||
private void Update()
|
||||
@@ -68,11 +66,6 @@ namespace CHN
|
||||
|
||||
gameObject.SetActive(active);
|
||||
}
|
||||
|
||||
void Deactivate()
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user